Hello,I started learning OpenLayers a few days ago and I'm facing a strange problem. My data are stored in a PostgreSQL database (with PostGIS) and the geometry column has been created with :
SELECT AddGeometryColumn('test', 'geom4326', 4326, 'POINT', 2);
I populated the table with some POINT:
INSERT INTO test(info, geom4326)
VALUES ('test', ST_GeomFromText('POINT(50 10)', 4326));
INSERT INTO test(info, geom4326)
VALUES ('test', ST_GeomFromText('POINT(50 0)', 4326));
etc ...
After that I added a new layer in the Mapserver MAP file, using
"geom4326 from test using unique id using srid 4326" as DATA.
It works well when I query Mapserver through http://myserver.com/mapserver?map=/path/to/test.map&layer=test but when I try to add the layer to my Openlayers Map object, points which have a coordinate of "0" either in x or y (for example (0,0) (10,0) (20,0) (0,20) (0,-10) etc) aren't displayed (some are displayed with a maximum zoom out).
I tried with several base layers and several projections but without any success. I'm quite confident that it's not a projection problem.
Does anyone has an idea what could be wrong ? :-) Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
<<attachment: jcigar.vcf>>
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
