[Xastir] Water/hydrology shapefiles for Canada?

Joe Veldhuis electrode at garandnet.net
Fri Sep 21 22:36:38 EDT 2007


The listserver is blocking Gmail all of a sudden, so trying this again from an old account...

Interesting discussions so far. I'm particularly interested in what might come out of the contact Gerry mentioned...

Anyway, on the topic of .dbfawk's, I've thrown together a few for the river, lake, ocean and ice portions of the BC maps you linked to. I also took the one that James posted for the Geobase.ca road maps and hacked at it a bit. My goal was to make them look the same as the Tiger road maps, and that's pretty much what it does, although it doesn't correctly set the street labels yet. It might only work with the ON map, as that's the one I'm working with (going by James' call, his was probably based on the headers for the AB map).

Since I don't know if this list passes attachments, I'll just paste them inline at the bottom of this post.

-Joe, N8FQ

On Fri, 21 Sep 2007 09:05:09 -0700
Mike Fenske <mfenske at telus.net> wrote:

> Hi Joe. I use shapefiles for British Columbia from here:
> 
> http://www.em.gov.bc.ca/Mining/Geolsurv/Publications/catalog/bcgeolmap.htm
> 
> You can't download the hydrology files separately, but each zip file has separate shapefiles for lakes, rivers, roads (major), railway, etc. You'll want the Geographic projection maps.
> 
> Haven't looked at other provinces. If you find something, let us know.
> 
> Regarding the .dbfawk for Geobase.ca roads, I do have one, but I wouldn't call it good. Just displays roads in grey and 4 lane highways in wide red.
> 
> Mike Fenske
> VE7MKF

NRN_ON_2_0_ROADSEG.dbfawk
---
BEGIN {
dbfinfo="NID:ROADSEGID:ADRANGENID:DATASETNAM:SPECVERS:ACCURACY:ACQTECH:PROVIDER:CREDATE:REVDATE:METACOVER:ROADCLASS:RTNUMBER1:RTNUMBER2:RTNUMBER3:RTNUMBER4:RTNUMBER5:RTENAME1FR:RTENAME2FR:RTENAME3FR:RTENAME4FR:RTENAME1EN:RTENAME2EN:RTENAME3EN:RTENAME4EN:EXITNBR:NBRLANES:PAVSTATUS:PAVSURF:UNPAVSURF:STRUCTID:STRUCTTYPE:STRUNAMEEN:STRUNAMEFR:L_ADDDIRFG:L_HNUMF:L_HNUML:L_STNAME_C:L_PLACENAM:R_ADDDIRFG:R_HNUMF:R_HNUML:R_STNAME_C:R_PLACENAM";
dbffields="ROADCLASS:RTNUMBER1:RTENAME1EN"}
BEGIN_RECORD {key=""; lanes=1; color=96; fill_color=11; name="";
filled=0; pattern=0; display_level=8192; label_level=32;
label_color=8; font_size=0; symbol=""; fill_style=0 }
/^ROADCLASS=Service/ {color=40; display_level=256; label_level=16; font_size=1; next}
/^ROADCLASS=Ramp/ {color=40; display_level=256; label_level=16; font_size=1; next}
/^ROADCLASS=Local/ {color=40; display_level=256; label_level=16; font_size=1; next}
/^ROADCLASS=Collector/ {color=40; display_level=256; label_level=16; font_size=1; next}
/^ROADCLASS=Arterial/ {lanes=2; color=8; label_level=256; font_size=1; next}
/^ROADCLASS=Expressway/ {lanes=3; color=8; label_level=512; font_size=2; next}
/^ROADCLASS=Freeway/ {lanes=4; color=4; label_level=512; font_size=3; next}
/^RTENAME1EN=None/ {next}
/^RTENAME4EN=(.+)/ {name=$1;next}
/^RTENAME3EN=(.+)/ {name=$1;next}
/^RTENAME2EN=(.+)/ {name=$1;next}
/^RTENAME1EN=(.+)/ {name=$1;next}

BC_ice_ll.dbfawk
---
BEGIN {
dbfinfo="FEATURE:AREA";
dbffields="FEATURE";
}
BEGIN_RECORD {key=""; lanes=1; color=15; fill_color=15; name=""; filled=1; pattern=0; display_level=8192; label_level=0; label_color=8; font_size=0; symbol=""}
/^FEATURE=(.*)$/ {name="$1"; next}

BC_lake_ll.dbfawk
---
BEGIN {
dbfinfo="AREA:PERIMETER:GAZ_NAME:ALIAS";
dbffields="GAZ_NAME";
}
BEGIN_RECORD {key=""; lanes=1; color=26; fill_color=26; name=""; filled=1; pattern=0; display_level=8192; label_level=0; label_color=8; font_size=0; symbol=""}
/^GAZ_NAME=(.*)$/ {name="$1"; next}

BC_river_ll.dbfawk
---
BEGIN {
dbfinfo="L_ORDER";
dbffields="L_ORDER";
}
BEGIN_RECORD {key=""; lanes=1; color=26; fill_color=26; name=""; filled=1; pattern=0; display_level=8192; label_level=0; label_color=8; font_size=0; symbol=""}
/^L_ORDER=(.*)$/ {name="$1"; next}

BC_ocean_ll.dbfawk
---
BEGIN {
dbfinfo="FEATURE";
dbffields="FEATURE";
}
BEGIN_RECORD {key=""; lanes=1; color=26; fill_color=26; name=""; filled=1; pattern=0; display_level=8192; label_level=0; label_color=8; font_size=0; symbol=""}
/^FEATURE=(.*)$/ {name="$1"; next}



More information about the Xastir mailing list