well it looks it work now, i noticed on the table geometry_columns is always
4269 
i dont know who set this value (osm,globalmapper, postgis) but from 
here http://spatialreference.org/ref/?search=italy I was able to obtain the
right EPSG i changed the value of the colum srid to 3003 and also in my java
code 
        ReferencedEnvelope bbox = new
ReferencedEnvelope(10.3564929962158,10.4335460662842, 43.6611557006836,
43.7068252563477,CRS.decode("EPSG:3003",true));
        map2.setAreaOfInterest(bbox,CRS.decode("EPSG:3003")); 
and now it works
-- 
View this message in context: 
http://n2.nabble.com/image-problem-tp4512874p4521044.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to