Right, as per your next email, yes you can pass the proj4 literal rather than epsg when reprojecting using ogr. But, I think "srsmercator" is 3395:
http://spatialreference.org/ref/epsg/3395/ Dane On Dec 3, 2010, at 3:38 AM, John Mitchell wrote: > Dane, > > How would I reproject the builtup_areas shape file? The current projection > is listed as &srsmercator (<!ENTITY srsmercator "+proj=merc +datum=WGS84 > +over">) unlike the other 2 projections for the shape files which include the > epsg code within its variable name: &srs900913 and &srs4326. > > I use ogr2ogr to reproject the shape files but I need to know the current > epsg code in order to reproject. > > John > > > On Thu, Dec 2, 2010 at 4:14 PM, Dane Springmeyer <[email protected]> wrote: > Yes, you should build indexes for them, but first you should reproject them > to epsg:900913 and change the srs to match that projection in the xml files, > if you want the fastest rendering. > > The .sbn and .shx are ESRI specific extensions which are ignored by mapnik. > > Dane > > > On Dec 2, 2010, at 12:57 PM, John Mitchell wrote: > >> Part of setting up open street map data for hosting is to get 5 shapefiles >> but 2 of these shapes files (listed below) don't have an associated .index >> file: >> $ wget >> http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/10m-populated-places.zip >> (1.5 MB) >> >> >> $ wget >> http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/110m-admin-0-boundary-lines.zip >> (38 KB) >> >> >> >> I noticed that these 2 shape files have 2 extra files .sbn and .shx which >> the other 3 shape files don't have. >> >> Should I run shapeindex.exe against this 2 shape files or just leave them >> the way they are? >> >> >> >> Thanks, >> >> John >> >> >> -- >> John J. Mitchell >> _______________________________________________ >> Mapnik-users mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/mapnik-users > > > > > -- > John J. Mitchell
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

