Closed petekennedy closed 8 years ago
TileMill is not (yet) able to autodetect the SRS for raster layers. You need to set it manually. If your data is in web mercator choose the 900913
dropdown before trying to save the layer.
btw, I'm commenting about how to avoid the "Unable to determine SRS for layer" error. If your problem is that the data is not showing up, then the next question is whether you have created a style for it yet?
Thanks for the quick response Dane - I was able to get it to work using WGS84 and specifying that in the dropdown. I'm still figuring some things out and really just getting started so using MapBox and man is it cool. I hope to use it in some classes I teach here in Asheville at the local community college so I'm sure to be posting more as I (and my students) get deeper into it. Really appreciate the help!
I am trying to display a hillshade (raster) in Tilemill I have converted from a Geodatabase to .tif in ArcMap. The original hillshade was in NC State Plane Feet and I have projected it Web Mercator using the following methods but still no luck:
In ArcGIS: -Projected to Web Mercator and Web Mercator Auxillary Sphere. Both of these still returned the SRS error.
Using GDAL: -Projected using GDALWARP using the following command:
C:\Users\pete\Documents\GIS\raster>gdalwarp -s_srs EPSG:2264 -t_srs EPSG:3785 -r bilinear bc_hill.tif bc_hill-mercator.tif
Originally, I loaded all my vector data in NC State Plane (with a .prj) and it displayed. After projected the vector data to Web Mercator, it also will not display but does not give an error.
Thanks in advance for your help.