[OSM-talk] osm2shp or osm2pgsql

The Bun rosario.carbone at ipl.com
Tue Dec 11 11:35:58 GMT 2007


Andy Allan-2 wrote:
>
> On Dec 11, 2007 8:54 AM, The Bun <rosario.carbone at ...> wrote: 
>
> > I tried with dome python scripts but also with an already converted GML
> and 
> > run ogr2ogr.exe, the shapefile are created but the result is bad: 
>
> What do you mean by "bad"? That's recognisably an incomplete shapefile 
> of the UK, with what looks like some of the major roads. If by "bad" 
> you mean "distorted" that's just a projection issue in the shape file 
> viewer (I've used the same one on Windows, and that's what things look 
> like). If you mean "missing roads" then that's a different matter, but 
> your shapefiles are probably OK in themselves. 

Yes sorry for the confusion, I am quite frustrated as I have been doing many
investigation till now and I haven't found a solution.
Well, by "bad" I meant mainly the quality of the image but I was wrong
because that is the nature of the shape files although the way.shp is
actually incomplete ( I created with ogr2ogr.exe ), but it doesn't matter,
the shape files are only an experiment, at this stage, for me, you are right
I should test on Linux maybe with osm2shp as suggested elsewhere. Problem
for me is I don't know Linux, but I'll have a go at some point of my
investigations.

What is more needed for me now actually are raster data which don't loose
quality when the user zoom in. I tried creating an SVG file with xmlstarlet
and converting finally into a TIF/TIFF file and it is perfect but when you
zoom in the quality is very get worse and worse.

The point is I'd like to host the OSM data instead of using the "tah" server
but I can't find an easy way with an accettable quality. 
I understood I should download the tiles for different zooming levels and
implement somehow myself a cache / tiles web engine, correct?

I think OpenLayers people have done it already but I can't find any
documentation for doing it myself.

Cheers,
Rosario



-- 
View this message in context: http://www.nabble.com/osm2shp-or-osm2pgsql-tp14256729p14272162.html
Sent from the OpenStreetMap - General mailing list archive at Nabble.com.





More information about the talk mailing list