Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm developing a gis solution which uses only geometry data.

I designed my spatial DB with PostGIS and now I'm performing some trials connecting the DB with GeoServer map server (using the administration page).

In the layer definition of the administration tool there is the mandatory field SRS(Spatial Reference System) to set with the appropriate SRID

I'd like to know which is the default SRID value to set in order to take into account the geometry type. I read that should be 0, but it doesn't work....

Thanks

nico

share|improve this question
    
what projection is your data in? –  iant May 16 '13 at 10:24
    
I must visualize spatial data on a flat plane (not referenced with the world), i.e. the position of some defects on flat steel surface. Thanks –  nko May 16 '13 at 15:10

1 Answer 1

GeoTools (and GeoServer) provide EPSG:404000 for generic 2D systems. Search for GENERIC_2D in http://docs.geotools.org/latest/userguide/library/referencing/crs.html for details.

I've never tried to use it myself but I think it should do what you need.

share|improve this answer
    
Thank you very much! It is that I was looking for! Regards. Nico –  nko May 17 '13 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.