I set up a MapContext:
    MapContext context = new DefaultMapContext();
    context.addLayer(store, style);
    ShapefileRenderer renderer = new ShapefileRenderer(context);

Then when I call getLayerBounds:
    Envelope env = context.getLayerBounds();

I get the following:
SEVERE: Data source and map context coordinate system differ, yet it
was not possible to get a projected bounds estimate...
org.opengis.referencing.operation.OperationNotFoundException: Bursa
wolf parameters required.


What's the best way to proceed? I thought,
    - Try to convert the shapefile to a different coordinate system
        using ArcGIS
    - Try setting the context differently
    - Provide some other means to transform the data 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to