Joseph, Its hard to test with the xml you attached because of entities that you did not provide. Perhaps you could try re-creating the problem with a more simple xml file?
However, I loaded up the shapefile in Quantumnik and it shows up just fine given the XML pasted below. I did notice a typo in your xml... line 12 of PROJECTAREA.XML reads: <Layer name="Project_Area" srs="+proj=latlong +datum=WGS84" +over> that '+over' could be problematic. Does the below XML work for you? Dane <?xml version="1.0" encoding="utf-8"?> <Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs " bgcolor="rgba(0,0,0,0)"> <Style name="style"> <Rule> <PolygonSymbolizer> <CssParameter name="fill">rgb(1,34,193)</CssParameter> </PolygonSymbolizer> <LineSymbolizer> <CssParameter name="stroke-width">0.96</CssParameter> </LineSymbolizer> </Rule> </Style> <Layer name = "_Users_spring_Desktop_PolygonProblem_ProjectArea_shp20090802220809135 " srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs " status="1" clear_label_cache="0" queryable="1"> <StyleName>style</StyleName> <Datasource> <Parameter name="file">ProjectArea.shp</Parameter> <Parameter name="type">shape</Parameter> </Datasource> </Layer> </Map> On Jul 30, 2009, at 4:01 PM, Joseph Jira wrote: > Hello: > > I am having a problem rendering a polygon using Mapnik. I am trying > to narrow the problem down, and it seems to me that it originates > with Mapnik and I'd like someone to test the attached shapefile. It > is a polygon that should be centered around Cleveland, Ohio. > > My basic procedure is to import the shapefile into POSTGIS using > this command: > > shp2pgsql -s 4326 -I "/Users/jiraj/Neorsdata/Reprojected Shapefiles/ > ProjectArea" PROJECTAREA | psql -d gisdb > > I have also appended a -S to make it a simple polygon: > > shp2pgsql -s 4326 -I -S "/Users/jiraj/Neorsdata/Reprojected > Shapefiles/ProjectArea" PROJECTAREA | psql -d gisdb > > Then, I'll try to render it using these xml file (the xml files are > included in the attachment). > > One last thing; I have successfully rendered this polygon by > connecting to my postgis database and displaying it with Udig. > > > Any help or ideas would be appreciated. > > > Joseph M Jira > > > <PolygonProblem.zip>_______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

