[OpenLayers-Users] setting WKT returned from postGIS in form
fieldto openlayers feature
Burgholzer,Robert
rwburgholzer at deq.virginia.gov
Mon Nov 3 10:40:32 EST 2008
Thanks Mika, I will check that out! I may have forgotten to update the
defs when I migrated to OL 2.7.
r.b.
Robert W. Burgholzer
Surface Water Modeler
Office of Water Supply and Planning
Virginia Department of Environmental Quality
rwburgholzer at deq.virginia.gov
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/
-----Original Message-----
From: Lehtonen, Mika [mailto:mika at digikartta.net]
Sent: Sunday, November 02, 2008 3:12 PM
To: Burgholzer,Robert
Cc: OpenLayers
Subject: Re: [OpenLayers-Users] setting WKT returned from postGIS in
form fieldto openlayers feature
Hi Robert,
I may be wrong, but doesn't proj4js.code have a libPath setting which
also defines where the defs can be found. So if you don't change it or
put your defs where they should be, they can't be found.
- mika -
Burgholzer,Robert kirjoitti:
>
> // I think the following projections should be set up
> automagically, but my installation does not seem to work without
> explicitly defining them here
>
> Proj4js.defs["EPSG:4326"] = "+proj=longlat +ellps=WGS84
> +datum=WGS84 +no_defs";
>
> Proj4js.defs["EPSG:900913"] = "+proj=merc +a=6378137
> +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m
> +nadgrids=@null +no_defs";
>
>
>
More information about the Users
mailing list