in proj4js there is a getScriptLocation function which retrieves the path of the current script by looping over the script tags in the document. Unfortunately the function won't find the scriptlocation if your script is called proj4js-compressed.js in stead of proj4js.js.
This results in proj4js won't find extra projections, which results in errors in your page when trying to call a non standard projection.
So change the name of the script to proj4js.js (or include the needed projections by hand)
And if you need EPSG:102113 (the Esri alternative for the common mercator projection), copy EPSG900913.js to EPSG:102113.js and change ['EPSG:900913'] to ['EPSG:102113'].
In this blog you can find some of my findings as an opensource geospatial developer.
Wednesday, October 13, 2010
Saturday, October 09, 2010
one week open source primer
A company asked us to provide a one week open source primer for their employee's. This is the program we proposed:
mo:
Quantum GIS
Mapserver, Gdal
tu:
Udig
GeoServer
we:
PostGIS
GeoKettle
th:
OpenLayers, GeoExt
MapBender
fr:
GeoNetwork
Oracle, Autocad and Esri support in Open Source Apps
mo:
Quantum GIS
Mapserver, Gdal
tu:
Udig
GeoServer
we:
PostGIS
GeoKettle
th:
OpenLayers, GeoExt
MapBender
fr:
GeoNetwork
Oracle, Autocad and Esri support in Open Source Apps
Subscribe to:
Posts (Atom)