Geobase/Canadian Aboriginal Lands

From OpenStreetMap Wiki
Jump to: navigation, search

Planning Page for importing Geobase

The GeoBase Aboriginal Lands data set is an important part of the geographic fabric of Canada. Although only the current Indian Reserves it provides an insight into where the Aboriginal Peoples of Canada originally lived.

The GeoBase Aboriginal Lands product description is here: GeoBase Aboriginal Lands

You can download the data here: Download Aboriginal Land.

There are 3030 Aboriginal Lands defined in this set.

TODO: There are 39 fields in the GML for Canada. Use | Aboriginal Lands Feature Catalogue to work describe the fields/ TODO: Look for a WMS layer showing this data.

Attribution

As usual for any import the standard attribution source tags are needed.

attribution=GeoBase

source=GeoBase_Aboriginal_Lands_Import_2010

source:url=*


GeoBase Source Fields

Geobase Fields OSM Fields
gml2:acquisitionTechnique - Computed geobase:acquisitionTechnique
gml2:alCode geobase:alCode
gml2:AL_TA_CA_1_3_eng geobase:AL_TA_CA_1_3_eng
gml2:alType - Indian Land, Indian Reserve, Land Claim geobase:alType
gml2:creationDate geobase:creationDate
gml2:datasetName- CA, BC, AB, etc.... geobase:datasetName
gml2:jurisdiction1 - BC, AB, ... geobase:jurisdiction1
gml2:jurisdiction2 - BC, AB, ... geobase:jurisdiction2
gml2:jurisdiction3 geobase:jurisdiction3
gml2:jurisdiction4 geobase:jurisdiction4
gml2:language1 - English geobase:language1
gml2:language2 - French geobase:language2
gml2:language3 - geobase:language3
gml2:language4 geobase:language4
gml2:language5 geobase:language5
gml2:metadataCoverage - Partial geobase:metadataCoverage
gml2:name1 geobase:name1
gml2:name2 geobase:name2
gml2:name3 geobase:name3
gml2:name4 geobase:name4
gml2:name5 geobase:name5
gml2:nid geobase:nid
gml2:planimetricAccuracy geobase:planimetricAccuracy
gml2:provider - Federal geobase:provider
gml2:revisionDate geobase:revisionDate
gml2:standardVersion geobase:standardVersion
gml2:webReference geobase:webReference
gml:boundedBy geobase:boundedBy
gml:Box srsName="LLCSRS" geobase:Box
gml:featureMember geobase:featureMember
gml:innerBoundaryIs geobase:innerBoundaryIs
gml:multiPolygonProperty geobase:multiPolygonProperty
gml:MultiPolygon srsName="LLCSRS" geobase:MultiPolygon
gml:outerBoundaryIs geobase:outerBoundaryIs
gml:Polygon geobase:Polygon
gml:polygonMember geobase:polygonMember
gml:polygonProperty geobase:polygonProperty
gml:Polygon srsName="LLCSRS" geobase:Polygon


Notes

There are 5 language fields, but only two are used in the whole data set for all of Canada. English is language1 and French is language2.

Tagging

The tagging is still up for discussion, as there is currently no specific tag. One option is boundary=administrative admin_level=aboriginal_land

see http://en.wikipedia.org/wiki/Subdivisions_of_Canada

see http://www.akwesasne.ca/jaytreaty.html

see http://en.wikipedia.org/wiki/Aboriginal_peoples_in_Canada

Script

There is a script based on geobase2osm.py called geobase_al2osm.py that will be used to convert the GeoBase files to osm files. Since there is likely little overlap with current OSM features, I believe it would be a good idea to create osm files by province, and import them after a test case.

Test area: Sooke, BC & Ontario (Marathon area) and central BC (links needed)

Another script was made with the conversion program using shp-to-osm.jar version 0.7.3

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/AL_TA_CA_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/rules.txt
 --osmfile GeoBase_Aboriginal_Lands50_000 -t

However, the above script created oodles of files, so splitting it by province is better

Rules

This is the rules.txt file that was used for conversion it can be downloaded here http://www.mediafire.com/file/(link)/rules.txt

outer,NAME1,,name,-
outer,NID,,name:FIXME,the name needs to be in SmallCaps
outer,NAME2,,name:fr,-
#
outer,NID,,boundary,aboriginal_lands
outer,NID,,admin_level,4
outer,NID,,admin_level,aboriginal_lands
outer,NID,,boundary,administrative
outer,NID,,boundary:type,aboriginal_lands
outer,NID,,FIXME,the boundary type could be changed if there is something better
outer,NID,,landuse,reserve
#
outer,NID,,source:url,http://www.geobase.ca/geobase/en/metadata.do?id=37285#metainfo
outer,NID,,source,GeoBase_Aboriginal_Lands_Import_2010
outer,NID,,attribution,GeoBase


British Columbia

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/british_columbia/AL_TA_BC_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data
/british_columbia/rules.txt --osmfile GeoBase_Aboriginal_Lands_british_columbia_50_000 -t
Aboriginal_lands_British_Columbia_JOSM.jpg

The resulting conversion created 7 .osm files you can download and view them here

http://www.mediafire.com/file/wz3wznzc4jy/GeoBase_Aboriginal_Lands_british_columbia_50_000 7 file set.zip

Alberta

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/alberta/AL_TA_AB_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/alberta
/rules.txt --osmfile GeoBase_Aboriginal_Lands_Alberta_50_000 -t

The resulting conversion created 3 .osm files, you can download the file set here.

http://www.mediafire.com/file/3kmhozmgnij/GeoBase_Aboriginal_Lands_Alberta_50_000_3fileSet.zip

Saskatchewan

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/saskatchewan/AL_TA_SK_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data
/saskatchewan/rules.txt --osmfile GeoBase_Aboriginal_Lands_saskatchewan_50_000 -t

The resulting conversion created 3 .osm files, you can download the file set here.

http://www.mediafire.com/file/tyg5w3y2y2w/GeoBase_Aboriginal_Lands_saskatchewan_50_000 3 file set.zip

Manitoba

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/manitoba/AL_TA_MB_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/manitoba
/rules.txt --osmfile GeoBase_Aboriginal_Lands_manitoba_50_000 -t

The resulting conversion created 5 .osm files, you can download the file set here. http://www.mediafire.com/file/3i2vwymhigy/GeoBase_Aboriginal_Lands_manitoba_50_000 5 file set.zip

A picture of the .osm files in the region, as viewed in JOSM http://picasaweb.google.com/lh/photo/6pF_YLUkq9lD_lwsNPKGew?feat=directlink

Yukon

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/yukon/AL_TA_YT_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/yukon
/rules.txt --osmfile GeoBase_Aboriginal_Lands_yukon_50_000 -t

The resulting conversion created 6 .osm files, you can download the file set here.

http://www.mediafire.com/file/geyttnjzyng/GeoBase_Aboriginal_Lands_yukon_50_000 6 file set.zip

Northwest Territories

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/northwest_territories/AL_TA_NT_2_0_eng.shp --rulesfile 
d:/Aboriginal_Lands_Data/northwest_territories/rules.txt --osmfile 
GeoBase_Aboriginal_Lands_northwest_territories_50_000 -t

The resulting conversion created 8 .osm files, you can download the file set here.

http://www.mediafire.com/file/yn3kez0etm2/GeoBase_Aboriginal_Lands_northwest_territories_50_000 8 file set.zip

Nunavut

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/nunavut/AL_TA_NU_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/nunavut
/rules.txt --osmfile GeoBase_Aboriginal_Lands_nunavut_50_000 -t

The resulting conversion created 15 .osm files, you can download the file set here.

http://www.mediafire.com/file/4kzmvhjcoyy/GeoBase_Aboriginal_Lands_nunavut_50_000 15 file set.zip

Ontario

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/ontario/AL_TA_ON_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/ontario
/rules.txt --osmfile GeoBase_Aboriginal_Lands_ontario_50_000 -t

The resulting conversion created 6 .osm files, you can download the file set here.

http://www.mediafire.com/file/mmzztjgjovk/GeoBase_Aboriginal_Lands_ontario_50_000 6 file set.zip

Quebec

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/quebec/AL_TA_QC_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data/quebec
/rules.txt --osmfile GeoBase_Aboriginal_Lands_quebec_50_000 -t

The resulting conversion created 1 .osm file, you can download the file set here.

http://www.mediafire.com/file/myqg4eynyjj/GeoBase_Aboriginal_Lands_quebec_50_000 1 zip file.zip

New Brunswick

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/new_brunswick/AL_TA_NB_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data
/new_brunswick/rules.txt --osmfile GeoBase_Aboriginal_Lands_new_brunswick_50_000 -t

The resulting conversion created 1 .osm file, you can download the file set here.

http://www.mediafire.com/file/twjdemzbtje/GeoBase_Aboriginal_Lands_new_brunswick_50_000 1 zip file.zip

Prince Edward Island

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/prince_edward_island/AL_TA_PE_2_0_eng.shp --rulesfile 
d:/Aboriginal_Lands_Data/prince_edward_island/rules.txt --osmfile 
GeoBase_Aboriginal_Lands_prince_edward_island_50_000 -t

The resulting conversion created 1 .osm file, you can download the file set here.

http://www.mediafire.com/file/ditwz05kglg/GeoBase_Aboriginal_Lands_prince_edward_island_50_000 1 zip file.zip

Nova Scotia

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/nova_scotia/AL_TA_NS_2_0_eng.shp --rulesfile d:/Aboriginal_Lands_Data
/nova_scotia/rules.txt --osmfile GeoBase_Aboriginal_Lands_nova_scotia_50_000 -t

The resulting conversion created 1 .osm file, you can download the file set here.

http://www.mediafire.com/file/mymzmovaf5n/GeoBase_Aboriginal_Lands_nova_scotia_50_000 1 zip file.zip

Newfoundland and Labrador

java -Xmx512M -cp shp-to-osm-0.7.3-jar-with-dependencies.jar Main --maxnodes 50000 --shapefile 
d:/Aboriginal_Lands_Data/newfoundland_and_labrador/AL_TA_NL_2_0_eng.shp --rulesfile 
d:/Aboriginal_Lands_Data/newfoundland_and_labrador/rules.txt --osmfile 
GeoBase_Aboriginal_Lands_newfoundland_and_labrador_50_000 -t

The resulting conversion created 1 .osm file, you can download the file set here.

http://www.mediafire.com/file/mjmmzywdhym/GeoBase_Aboriginal_Lands_newfoundland_and_labrador_50_000 1 zip file.zip

...

The resulting conversion created ## .osm files which are approximately 50,000 nodes each. Please do NOT upload these files all in 1 go. (as this action is counter productive for the development of OpenStreetMap. see http://wiki.openstreetmap.org/wiki/Additional_Help Beginners' guide. ALOT of work has been done with drawing in park boundaries all across the country. Please be careful & contact the author of the park that exists to see what their source of the their information was.

User:Acrosscanadatrails is working on many parts of the Country for the Across Canada Trails project. So he is working on getting many of the Parks loaded. Feel free to contact him on the talk-ca@openstreetmap.org if you have questions. He can re-convert the whole file if needed.

http://www.mediafire.com/file/(link).zip

Using JOSM, open up all ## .osm files so you can see if your favorite aboriginal lands is in there.

Contact

For more information you can contact Neskie (who did the python version) or Acrosscanadatrails (who did the java conversion) [[Ca