Hi Michael thanks a lot for your nice answer.
You probably need mor informations.
I have to develop a web application for traffic control of some regions of
italy, 
actually this is the way how i grap geo data.
I first connect to http://www.openstreetmap.org I select the area of
interest and I export like osm/xml format, after I have downloaded this file
I open with global mapper 11 the only sw I have found who convert osm to
shp, there is an utility who loads osm straight to postgis database but I
was not able to make it work. GM produce 3 different files (areas,
lines,points), is this the correct way to grab maps ? consider I need
details about all kind of streets. After that, I use utility of postgis to
convert shp in sql script and i load data to db.
If  I use the same code I showed you using shp like FeatureSource  it
display the image correctly. Another thing tha really make me upset is that
geoserver display the image correctly, I have tried to copy and paste my
code in the class of geoserver
"org.vfny.geoserver.wms.responses.DefaultRasterMapProducer", so evry time a
web application ask a map to geoserver it saves on filesystem  correttly
because geoserver is able to correct the defect. Probably the right thing is
to undestand how geoserver handle the map but the problem is geoserver is
huge, I undestood the entry point and the delivery but not in the middle, I
also noticed geoserver use 2.7 geotools library and it does not use the
gt-postgis-2.6.0.jar it looks there is no version available.
thanks Davide
-- 
View this message in context: 
http://n2.nabble.com/image-problem-tp4512874p4519113.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