Re: [Talk-ca] shp-to-osm-0.2

2009-02-20 Thread Sam Vekemans
Thanks for forwarding this, you covered the bugs im sure i would have
incountered :-)

it might be good to note that there is no limit to how many lines the
rules.txt can be?

You could announce this on the div &talk list?

Thanks again,
Sam

On 2/20/09, Dale Puch  wrote:
> Ian updated his official version.  Grab that one so you can let him know if
> there are any problems.
>
> Dale
>
> -- Forwarded message --
> From: Ian Dees 
> Date: Fri, Feb 20, 2009 at 9:25 PM
> Subject: Re: shp-to-osm-0.2
> To: Dale Puch 
>
>
> Dale, I just put up a new release of shp-to-osm:
>
> http://redmine.yellowbkpk.com/projects/list_files/geo
>
> On Fri, Feb 20, 2009 at 7:49 AM, Ian Dees  wrote:
>
>> Thanks for your bug reports and feature requests! I'll have a look at
>> these
>> and probably file all of them as bugs and try to fix them when I release
>> 0.3.
>>
>> It seems like everyone that's using this app tries it while I'm sleeping
>> :).
>>
>>
>> On Fri, Feb 20, 2009 at 4:45 AM, Dale Puch  wrote:
>>
>>> Feature:  add a comment to the readme.txt about inserting "-Xmx384M"
>>> as a java command line flag in run.bat and run.sh to improve performance
>>> with larger shp files.  The standard java memory setting choked on a
>>> 14Meg
>>> shp file.
>>>
>>> Dale
>>>
>>>
>>> On Fri, Feb 20, 2009 at 9:09 AM, Dale Puch  wrote:
>>>
 An update for the lack of tags.

 I downloaded the svn, and geotools-2.5.1 and managed to get the it to
 run
 in the eclipse IDE.  It output the OSM file ok, even though I don't
 think I
 added the geotools lib the correct way (all the jar files) based on the
 console warnings.

 So the latest SVN code seems like it works right, you just havn't
 released it yet :)



 On Fri, Feb 20, 2009 at 6:46 AM, Dale Puch  wrote:

> I downloaded and tried playing with shp-to-osm-0.2.zip and thought I'd
> report soem bugs? and possible improvments.
> I like what you have done so far.
>
>
> Feature:
> http://redmine.yellowbkpk.com/repositories/entry/geo/trunk/shp-to-osm/src/Main.java
> line 95
>
> throw new IllegalArgumentException("Could not parse line " + lineCount
> + ". Had " + splits.length + " pieces and expected 5.");
>
>   this error is output on a blank line in notes.txt as well.  You
> might
> check and skip blank lines and/or mention that the error is due to a
> problem
> with notes.txt and not the shp file.
>
> Feature: It might be nice to give notes.txt a "header" line above
> the actual entries.  A catalog of notes.txt files for various shp file
> sources as they are processed would also be nice.
> #Type,SrcKey,SrcValue,TargetKey,TargetValue
>
> Bug: I see -t as a 4th argument is an undocumented (in the zipped
> 0.2 package) feature to keep only tagged ways.  I see you updated the
> readme
> in the repository.
>a 4th paramater is needed in the sample run.bat and run.sh  and the
> readme.txt sample
>
> Bug: run.sh calls shp-to-osm-0.1 not 0.2  the same with the
> readme.txt file example
>
> Bug: Readme (even in repository) says nodes are still not
> supported,
> but changelog indicates it has beed implimented in 0.3 (not released
> yet?)
>
> Bug: In trying this out, I was able to convert line and poly
> elements, but no tagging at all was done regardless of the ruleset.
> well there are some  but others have no  at all
> Specifically tiger 2008 data
> ftp://ftp2.census.gov/geo/tiger/TIGER2008/12_FLORIDA/12095_Orange_County/tl_2008_12095_areawater.zip
> using these rules:
> outer,MTFCC,H3010,natural,river
> outer,MTFCC,H2030,natural,lake
> outer,MTFCC,H2025,natural,marsh
> outer,FULLNAME,,name,-
> line,FULLNAME,,name,-
> line,MTFCC,H3020,waterway,ditch
> line,MTFCC,H3010,natural,river
>
> Same thing happens if I use outer,FULLNAME,,name, without the ending
> dash
> Same thing if I use the -t as a 4th argument as well
>
> Sam Vekemans has mentioned similar problems with trying to get 0.2
> working
>
> Feature: mention the svn address
> http://svn.yellowbkpk.com/geo/trunk/shp-to-osm/ so people can download
> a play with the code?
>
>
>
>
> --
> Dale Puch
>



 --
 Dale Puch

>>>
>>>
>>>
>>> --
>>> Dale Puch
>>>
>>
>>
>
>
>
> --
> Dale Puch
>

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] [Talk-us] Automatch for importing NHD

2009-02-20 Thread Sam Vekemans
yupee!!!
That's so cool :-)
I got it to work, i was able to grab the NID (as well as the rest of the
CanVec ID's) which are so desperately needed. and so i can customize and add
whatever tags that are needed.
I still need to do a little more testing to see if it detects shp files with
multiple ID's... but i think it will.
(my little eee pc over heats and needs to cool down... and my head hurts and
also needs to cool down) :-)

I should have the BAT file im using ready to share soon,  I will be
following the wiki chart, and watching for changes. .. and what's cool is
that i'll be also updating the wiki as i go along.

There is only 300 map features, so it will probably take a week or less,
to get the rules.txt all in line.

Although it doesn't do any AutoMatching, selecting & deleting 4 times around
the region your working on isn't that bad.

Cheers,
And thanks SOO much :)
P.S. I'll be sure to note your names on the readme.txt for it.

Sam Vekemans
Across Canada Trails
On Fri, Feb 20, 2009 at 10:08 AM, Dale Puch  wrote:

> I managed to download and compile the latest code Ian has in the
> repository.  It throws up a warning or two about not finding extra
> libraries, but seems to be working fine.
> just change the run.bat to referance this file (0.3 instead of 0.2) and let
> me (and Ian) know how it works for you.
>
> Dale
>
>
> On Thu, Feb 19, 2009 at 6:25 PM, Dale Puch  wrote:
>
>> I guess we are going to need some feedback from Ian to get it working, or
>> to go digging in the java.
>>
>> For your ready made GIS needs...
>> Try http://www.gisvm.com/ It should be a ready made GIS OS.  No OSM
>> specific stuff though, but it still makes it a little easier if you don't
>> already have everything installed.
>> Or if you prefer windows, http://www.archaeogeek.com/blog/portable-gis/gives 
>> a lot of the same stuff setup for a USB thumbdrive.
>>
>> Dale
>>
>>
>> On Wed, Feb 18, 2009 at 11:02 AM, Sam Vekemans <
>> acrosscanadatra...@gmail.com> wrote:
>>
>>> Thanks,
>>> good to know that you got the same result from the java script.
>>>
>>> For this effort, I'm not to concerned about roads (its not part of the
>>> canvec data import)
>>>
>>> i probably might have to get ibuntu installed, and start learning that.
>>>
>>> -though i dont want to give up the effort to make this java script work.
>>> Is there a technical reason why it wont work?
>>> Does it HAVE to get processed in postGIS? (i have to learn what that
>>> means :-)
>>>
>>> thanks for the help,
>>> Sam
>>>
>>> On 2/18/09, Dale Puch  wrote:
>>> > Ian's java app seems to fit, but playing with it I have not gotten any
>>> tags
>>> > applied to the resulting OSM files.  Just blank ways or polys without
>>> tags.
>>> > My changes to the rules.txt match my shp data...
>>> >
>>> > It seems to simplify what the scripts did with few disadvantages for
>>> basic
>>> > data like rivers, lakes, buildings ect.  Roads may still need to be
>>> done
>>> > with scripts (added logic) to get the most out of some of the shape
>>> files
>>> > but will work either way.
>>> >
>>> > And yes java is MUCH easier to get started with for finished
>>> programs...
>>> > but perl and python isn't out of reach.  Not as simple as it should be
>>> > though.  There is a GIS on a stick (windows USB based GIS apps) as well
>>> as
>>> > a
>>> > GIS linux virtual machine that can make working with a lot of scripts a
>>> lot
>>> > easier to get started.
>>> >
>>> > Dale
>>> >
>>> > On Wed, Feb 18, 2009 at 9:12 AM, Sam Vekemans
>>> > wrote:
>>> >
>>> >>
>>> http://wiki.openstreetmap.org/wiki/Geobase_NRN_-_OSM_Map_Featurehere's
>>> >> the
>>> >> link... for the shp2osm wiki
>>> >> http://wiki.openstreetmap.org/wiki/Shp2osm
>>> >>
>>> >> Basically, im looking at making a simple script that will simply take
>>> the
>>> >> shape file from whatever source, and convert it to OSM... not even
>>> >> looking
>>> >> at what the current OSM file looks like.
>>> >>
>>> >> The script would be used for importing shape files that the users
>>> knows
>>> >> FOR
>>> >> SURE that there wont be any duplicates... ie. importing buildings in
>>> an
>>> >> area, where no buildings currently exist.  .. or importing
>>> >> property boundaries..
>>> >>   so i need a script that DOES NOT look for duplicates.  ...
>>> >>
>>> >> I prefer making it Java Friendly, as it's simple and i don't need to
>>> >> know
>>> >> how to do perl or python.  I want to be able to open up the file in
>>> >> notepad
>>> >> and change the values.
>>> >>
>>> >> I'll look at those other links you sent.
>>> >> Thanks,
>>> >> Sam
>>> >>
>>> >> On Wed, Feb 18, 2009 at 12:33 AM, Dale Puch 
>>> wrote:
>>> >>
>>> >>> Ahh, I remember Ian talking about the java version he wanted to work
>>> on,
>>> >>> but never saw it before.
>>> >>> Now I have two things to play with. :)
>>> >>>
>>> >>> FYI List of shp 2 osm files I have found, lots of versions of each
>>> >>> other.
>>> >>

Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Sam Vekemans
Thanks,http://www.safe.com/products/desktop/overview.php
I think thats the product your referring to? Looks like it possible to get
14 days per user key?

Anyway, it seems like your method is similar, just that you grab the area
before it gets converted to OSM format.

The only challenge we still have is that it doesn't retain the NID, nor can
it automatically create tags for each feature ID.

But as long as the source looks back to CanVec, the legal standpoint should
be fine.

Does anyone know how to create a java script that will attach OSM tags to
SHP files?  (so it can be added on to this shp-to-osm script? ...

Until then, this manual effort seems fine.   BUT I will wait till i hear
from the rest of the team (talk-ca) list before proceeding to go full steam
ahead.  :)

Thanks,
Sam

On Fri, Feb 20, 2009 at 8:23 AM, Michel Gilbert  wrote:

>
>
> 2009/2/20 Sam Vekemans 
>
>> Thanks,
>> What was the method you used to import the buildings?
>>
>
> You that I am a FME fan. So I made a quick FME workbench to import the
> building. I am going to make it more generic and I'll use the chart you
> prepared (thanks). I'll add my name on the status table for Canvec Import
> when I be ready to import buildings. I'll update the chart if it needs to be
> adjusted.
>
> Michel
>
>>
>>
>> The method i discribe should NOT be used, as i dont use the many
>> different building ID's available (the wiki chart has the list of what
>> tags each ID Should get).
>> http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures
>> 2010009_2.shp includes everything from Train Station Buildings to
>> Educational Buildings  (48 or so different building ID's) ... the
>> _2 indicates polygon.
>> And yes, CanVec doesnt distinguish between different educational
>> buildings... lumps them all in to the same category.
>>
>> Also my method does not imort NIDs.
>>
>>
>> Cheers,
>> Sam
>>
>> On 2/20/09, Michel Gilbert  wrote:
>> > Hi Sam & all,
>> >
>> > The idea is good to import building entities. I think we should
>> concentrate
>> > on polygon buildings where we'll get important buildings. To tag them
>> you
>> > should first prepare a map between osm tags and canvec building
>> attribute.
>> > Of cousre the most important attribute is building function. I imported
>> few
>> > buildings in Sherbrooke area (
>> >
>> http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF
>> ).
>> > I tagged the buildings like this:
>> >
>> >
>> >- k=building, v="university" or k=building, v="yes"
>> >- k=amenity, v="university"
>> >
>> > I don't think Canvec has the amenity concept though.
>> >
>> > Cheers,
>> >
>> > Michel
>> >
>> > 2009/2/20 Sam Vekemans 
>> >
>> >> Hi all,I posted a link to the screen shot on the wiki page
>> >> http://wiki.openstreetmap.org/wiki/Canvec2osm
>> >> I haven't uploaded any of the data, because I haven't figured out how
>> to
>> >> get the tags on there (especially the NID)
>> >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS
>> >> program
>> >> to name all the shape files. The shapefiles contain more details, as
>> you
>> >> can
>> >> see from the other image, viewing from the JUMP program. The wiki
>> charts
>> >> show how each feature ID# would match up to OSM.
>> >>
>> >> From the example, it would be awesome if JOSM could handle importing
>> just
>> >> the selected item or selected groups of items, rather than uploading
>> >> everything that was shown.  Is that technically possible?
>> >>
>> >> Thanks,
>> >> Sam Vekemans
>> >> Across Canada Trails
>> >>
>> >>
>> >>
>> >>
>> >> ___
>> >> Talk-ca mailing list
>> >> Talk-ca@openstreetmap.org
>> >> http://lists.openstreetmap.org/listinfo/talk-ca
>> >>
>> >>
>> >
>> >
>> > --
>> > Michel Gilbert
>> >
>>
>
>
>
> --
> Michel Gilbert
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Michel Gilbert
2009/2/20 Sam Vekemans 

> Thanks,
> What was the method you used to import the buildings?


You that I am a FME fan. So I made a quick FME workbench to import the
building. I am going to make it more generic and I'll use the chart you
prepared (thanks). I'll add my name on the status table for Canvec Import
when I be ready to import buildings. I'll update the chart if it needs to be
adjusted.

Michel

>
>
> The method i discribe should NOT be used, as i dont use the many
> different building ID's available (the wiki chart has the list of what
> tags each ID Should get).
> http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures
> 2010009_2.shp includes everything from Train Station Buildings to
> Educational Buildings  (48 or so different building ID's) ... the
> _2 indicates polygon.
> And yes, CanVec doesnt distinguish between different educational
> buildings... lumps them all in to the same category.
>
> Also my method does not imort NIDs.
>
>
> Cheers,
> Sam
>
> On 2/20/09, Michel Gilbert  wrote:
> > Hi Sam & all,
> >
> > The idea is good to import building entities. I think we should
> concentrate
> > on polygon buildings where we'll get important buildings. To tag them you
> > should first prepare a map between osm tags and canvec building
> attribute.
> > Of cousre the most important attribute is building function. I imported
> few
> > buildings in Sherbrooke area (
> >
> http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF
> ).
> > I tagged the buildings like this:
> >
> >
> >- k=building, v="university" or k=building, v="yes"
> >- k=amenity, v="university"
> >
> > I don't think Canvec has the amenity concept though.
> >
> > Cheers,
> >
> > Michel
> >
> > 2009/2/20 Sam Vekemans 
> >
> >> Hi all,I posted a link to the screen shot on the wiki page
> >> http://wiki.openstreetmap.org/wiki/Canvec2osm
> >> I haven't uploaded any of the data, because I haven't figured out how to
> >> get the tags on there (especially the NID)
> >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS
> >> program
> >> to name all the shape files. The shapefiles contain more details, as you
> >> can
> >> see from the other image, viewing from the JUMP program. The wiki charts
> >> show how each feature ID# would match up to OSM.
> >>
> >> From the example, it would be awesome if JOSM could handle importing
> just
> >> the selected item or selected groups of items, rather than uploading
> >> everything that was shown.  Is that technically possible?
> >>
> >> Thanks,
> >> Sam Vekemans
> >> Across Canada Trails
> >>
> >>
> >>
> >>
> >> ___
> >> Talk-ca mailing list
> >> Talk-ca@openstreetmap.org
> >> http://lists.openstreetmap.org/listinfo/talk-ca
> >>
> >>
> >
> >
> > --
> > Michel Gilbert
> >
>



-- 
Michel Gilbert
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Sam Vekemans
Right, that 'zoom to selection' (should) eliminate that crazy off-set
that happens during cut'n'paste.

Cheers,
Sam

On 2/20/09, si...@mungewell.org  wrote:
>
>> From the example, it would be awesome if JOSM could handle importing just
>> the selected item or selected groups of items, rather than uploading
>> everything that was shown.  Is that technically possible?
>>
>
> If you are handling smallish amounts of data you can cut'n'paste between
> JOSM layers, if you are handling massive data sets you are probably better
> off using osmosis to filter and upload stuff.
>
> For JOSM the trick is:
> 1) Load local '.osm' to layer (1).
> 2) Move to location and download OSM data for area, layer (2)
> 3) In layer (1) select appropriate data, either with 'area select' or
> ctrl+click
> 4) 'Zoom to selection'/extents of data (press '2' key).
> 5) Copy data
> 6) Switch to OSM layer (2)
> 7) Paste local data and tidy up.
> 8) repeat as nessecary
> 9) Upload result.
>
> You need to 'zoom to selection' otherwise the location of the data is
> changed as it is cut'n'pasted between layers.
>
> Have fun,
> Simon.
>
>
>

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread simon

> From the example, it would be awesome if JOSM could handle importing just
> the selected item or selected groups of items, rather than uploading
> everything that was shown.  Is that technically possible?
>

If you are handling smallish amounts of data you can cut'n'paste between
JOSM layers, if you are handling massive data sets you are probably better
off using osmosis to filter and upload stuff.

For JOSM the trick is:
1) Load local '.osm' to layer (1).
2) Move to location and download OSM data for area, layer (2)
3) In layer (1) select appropriate data, either with 'area select' or
ctrl+click
4) 'Zoom to selection'/extents of data (press '2' key).
5) Copy data
6) Switch to OSM layer (2)
7) Paste local data and tidy up.
8) repeat as nessecary
9) Upload result.

You need to 'zoom to selection' otherwise the location of the data is
changed as it is cut'n'pasted between layers.

Have fun,
Simon.



___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Sam Vekemans
Eureka!
By starting a new session of JOSM;
1 - with opening BS2010009_2.osm and with 4 large square selections delete
everything BUT the area your familiar with (on-the-ground observations).
2 - Load the local OSM area.
3 - Then add in the appropriate KEY/Values along with the source:CanVec
Import 2009 tag.  <

> Thanks,
> What was the method you used to import the buildings?
>
> The method i discribe should NOT be used, as i dont use the many
> different building ID's available (the wiki chart has the list of what
> tags each ID Should get).
> http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures
> 2010009_2.shp includes everything from Train Station Buildings to
> Educational Buildings  (48 or so different building ID's) ... the
> _2 indicates polygon.
> And yes, CanVec doesnt distinguish between different educational
> buildings... lumps them all in to the same category.
>
> Also my method does not imort NIDs.
>
>
> Cheers,
> Sam
>
> On 2/20/09, Michel Gilbert  wrote:
> > Hi Sam & all,
> >
> > The idea is good to import building entities. I think we should
> concentrate
> > on polygon buildings where we'll get important buildings. To tag them you
> > should first prepare a map between osm tags and canvec building
> attribute.
> > Of cousre the most important attribute is building function. I imported
> few
> > buildings in Sherbrooke area (
> >
> http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF
> ).
> > I tagged the buildings like this:
> >
> >
> >- k=building, v="university" or k=building, v="yes"
> >- k=amenity, v="university"
> >
> > I don't think Canvec has the amenity concept though.
> >
> > Cheers,
> >
> > Michel
> >
> > 2009/2/20 Sam Vekemans 
> >
> >> Hi all,I posted a link to the screen shot on the wiki page
> >> http://wiki.openstreetmap.org/wiki/Canvec2osm
> >> I haven't uploaded any of the data, because I haven't figured out how to
> >> get the tags on there (especially the NID)
> >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS
> >> program
> >> to name all the shape files. The shapefiles contain more details, as you
> >> can
> >> see from the other image, viewing from the JUMP program. The wiki charts
> >> show how each feature ID# would match up to OSM.
> >>
> >> From the example, it would be awesome if JOSM could handle importing
> just
> >> the selected item or selected groups of items, rather than uploading
> >> everything that was shown.  Is that technically possible?
> >>
> >> Thanks,
> >> Sam Vekemans
> >> Across Canada Trails
> >>
> >>
> >>
> >>
> >> ___
> >> Talk-ca mailing list
> >> Talk-ca@openstreetmap.org
> >> http://lists.openstreetmap.org/listinfo/talk-ca
> >>
> >>
> >
> >
> > --
> > Michel Gilbert
> >
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Sam Vekemans
Thanks,
What was the method you used to import the buildings?

The method i discribe should NOT be used, as i dont use the many
different building ID's available (the wiki chart has the list of what
tags each ID Should get).
http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures
2010009_2.shp includes everything from Train Station Buildings to
Educational Buildings  (48 or so different building ID's) ... the
_2 indicates polygon.
And yes, CanVec doesnt distinguish between different educational
buildings... lumps them all in to the same category.

Also my method does not imort NIDs.


Cheers,
Sam

On 2/20/09, Michel Gilbert  wrote:
> Hi Sam & all,
>
> The idea is good to import building entities. I think we should concentrate
> on polygon buildings where we'll get important buildings. To tag them you
> should first prepare a map between osm tags and canvec building attribute.
> Of cousre the most important attribute is building function. I imported few
> buildings in Sherbrooke area (
> http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF).
> I tagged the buildings like this:
>
>
>- k=building, v="university" or k=building, v="yes"
>- k=amenity, v="university"
>
> I don't think Canvec has the amenity concept though.
>
> Cheers,
>
> Michel
>
> 2009/2/20 Sam Vekemans 
>
>> Hi all,I posted a link to the screen shot on the wiki page
>> http://wiki.openstreetmap.org/wiki/Canvec2osm
>> I haven't uploaded any of the data, because I haven't figured out how to
>> get the tags on there (especially the NID)
>> I used the shp-to-osm java program (from Ian Dees), and a basic DOS
>> program
>> to name all the shape files. The shapefiles contain more details, as you
>> can
>> see from the other image, viewing from the JUMP program. The wiki charts
>> show how each feature ID# would match up to OSM.
>>
>> From the example, it would be awesome if JOSM could handle importing just
>> the selected item or selected groups of items, rather than uploading
>> everything that was shown.  Is that technically possible?
>>
>> Thanks,
>> Sam Vekemans
>> Across Canada Trails
>>
>>
>>
>>
>> ___
>> Talk-ca mailing list
>> Talk-ca@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-ca
>>
>>
>
>
> --
> Michel Gilbert
>

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Michel Gilbert
Hi Sam & all,

The idea is good to import building entities. I think we should concentrate
on polygon buildings where we'll get important buildings. To tag them you
should first prepare a map between osm tags and canvec building attribute.
Of cousre the most important attribute is building function. I imported few
buildings in Sherbrooke area (
http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF).
I tagged the buildings like this:


   - k=building, v="university" or k=building, v="yes"
   - k=amenity, v="university"

I don't think Canvec has the amenity concept though.

Cheers,

Michel

2009/2/20 Sam Vekemans 

> Hi all,I posted a link to the screen shot on the wiki page
> http://wiki.openstreetmap.org/wiki/Canvec2osm
> I haven't uploaded any of the data, because I haven't figured out how to
> get the tags on there (especially the NID)
> I used the shp-to-osm java program (from Ian Dees), and a basic DOS program
> to name all the shape files. The shapefiles contain more details, as you can
> see from the other image, viewing from the JUMP program. The wiki charts
> show how each feature ID# would match up to OSM.
>
> From the example, it would be awesome if JOSM could handle importing just
> the selected item or selected groups of items, rather than uploading
> everything that was shown.  Is that technically possible?
>
> Thanks,
> Sam Vekemans
> Across Canada Trails
>
>
>
>
> ___
> Talk-ca mailing list
> Talk-ca@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-ca
>
>


-- 
Michel Gilbert
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


[Talk-ca] CanVec (part of GeoBase) Import update

2009-02-20 Thread Sam Vekemans
Hi all,I posted a link to the screen shot on the wiki page
http://wiki.openstreetmap.org/wiki/Canvec2osm
I haven't uploaded any of the data, because I haven't figured out how to get
the tags on there (especially the NID)
I used the shp-to-osm java program (from Ian Dees), and a basic DOS program
to name all the shape files. The shapefiles contain more details, as you can
see from the other image, viewing from the JUMP program. The wiki charts
show how each feature ID# would match up to OSM.

>From the example, it would be awesome if JOSM could handle importing just
the selected item or selected groups of items, rather than uploading
everything that was shown.  Is that technically possible?

Thanks,
Sam Vekemans
Across Canada Trails
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca