I have an ecw file that is an aerial photo in a custom coordinate system. When I publish to geoserver, it specifies the EPSG as 404000. It seems like this isn't actually storing the coordinate system definition. When I preview the layer I can't see the full extent. If I change the declared SRS to EPSG 3857, then when I preview I can see the full extent of the image, but still it won't overlay with other data. However, I can't see the data at all when I load into desktop GIS. I'm wondering if this is due to the size - it is 3GB. I'm new to geoserver so I'm sure I'm missing something- what needs to be done to be able to see this image in the correct loation and overlaid with other data in EPSG 3857, or any other system for that matter?

  • This does not answer your question -- but for performance purposes (especially with a 3gb file), you should reproject it to the projection that all other layers are using (so reproject it into 3857). Unless you have a good caching setup, GeoServer will reproject your raster every time it is loaded, which is SLOWWW. You wont have any problems after that (assuming a proper reprojection), but if there's some reason you need it in this projection, I'm sure an inquiry can be done into why the srs is not being defined correctly. – Thomas Oct 15 '15 at 22:49
  • See here for info – Thomas Oct 15 '15 at 22:51
  • If you load the data into a desktop GIS (which?), what CRS definition is assigned to the layer? Maybe related: gis.stackexchange.com/questions/154462/… – AndreJ Oct 16 '15 at 6:05
  • 1
    Or run a gdalinfo on top of it. But yes, it's likely due to the custom CRS. – Andrea Aime Oct 16 '15 at 8:07
  • @AndreaAime what do you mean when you say run a gdal on top of it? I added the custom CRS to the geoserver epsg.properties file, and now I can choose that as declared srs but it still reads in initially as 404000. – kflaw Oct 16 '15 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.