[Talk-ca] Importing MLI park boundaries

Adam Dunn dunnadam at gmail.com
Fri Mar 25 20:29:49 GMT 2011


Assuming the dataset clears legal, my preferred way of converting
shapefiles to osm is using ogr2osm
[http://wiki.openstreetmap.org/wiki/Ogr2osm]. You get to write your
own tag filters in Python (two samples are provided in the
translations directory), as long as you're not doing any complicated
automated editing of ways or some such. Last time I used ogr2osm, it
wasn't putting version numbers into the output files, so they're not
technically API0.6 compatible (Osmosis won't accept them, but JOSM
will). It should do just what you need.

Adam

On Fri, Mar 25, 2011 at 12:11 PM, Samuel Dyck <samueldyck at gmail.com> wrote:
> Hi Everyone
>
> The Canvec data for MB provincial park boundaries is horribly inaccurate and
> this bothers me greatly. The government of Manitoba offers good boundary
> data and a bunch of other cool stuff though the Manitoba Lands Initiative,
> which I believe we can use, but I've never converted Shapefiles to an API
> 0.6 compatible osm file (or at all really). How would I best do this?
>
> Sam Dyck
>
> _______________________________________________
> Talk-ca mailing list
> Talk-ca at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-ca
>



More information about the Talk-ca mailing list