Hi

i wrote the post "Passing 2.0 to 2.1" but i haven't any response.

I am working to a map viewer for my thesis at University of Salerno (Italy).

I have finished to work with shapefile and i have created a fully functional viewer that offer some functions as add and remove layer, zoom in, zoom out, zoom to full extent, rotation of the map, drag the map, find a feature, identify a feature, and a query builder.

All this functions are based on StyledMapPane. In particular, I wrote the class MyStyledMapPane that overwrite some method of the ZoomPane class. I’ve added it standard mouse listener to perform operation like dragging map or identifying a feature.

The final version of my map viewer must load also raster format. Geotools 2.1 release is more powerful than release 2.0 about raster management and so I would pass from 2.0 to release 2.1.

When I load the first shapefile in mapPane I obtain the following error message:

18-ott-2005 15.13.51 org.geotools.map.DefaultMapContext getLayerBounds

GRAVE: 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 right configuration of coordinate system for the StyledMapPane?

 

 

Thanks in advance.

Antonio Caccese

Reply via email to