Interesting Kevin but I'm not in the clear about the nuts and bolts.Would I or 
anyone have to unpack the .osm.pbf or osm.bz2 files toget at the appropriate 
shapefiles?
Once that's done a modification needs to be made to the 
originalOSM_Cloudmade_Highway.dbfawk that you renamed to roads.dbfawkbased upon 
what is in the Geofabrik roads.dbf file? 
You performed that by:
Change the line that reads

dbfinfo="TYPE:NAME:ONEWAY:LANES";

to

dbfinfo="OSM_ID:NAME:REF:TYPE:ONEWAY:BRIDGE:TUNNEL:MAXSPEED";

and change the line that reads

dbffields="TYPE:NAME:ONEWAY:LANES";

to

dbffields="TYPE:NAME:ONEWAY";


My question is Cloudmade is gone now so how does one get  
OSM_Cloudmade_highway.dbfawk filesif they do not already have them on their 
machine?
I have old copies of the tiger maps from '06 and the Cloudmade ones that I just 
had to unpack and run with.Problem is that new users won't have access to 
portable maps so Xastir will be tied to the internet.  Kinda hardto do is some 
locations. 
I like to monitor incoming remote GPS data I can route through the network port 
on Xastir as a "pseudo" APRS station with this script sent to me by Jason 
KG4WSV:
http://www.ece.uah.edu/~jdw/rockets/gps2aprs.txt.  (change txt to pl and edit 
to the other parameters one has the receiving device connected to) 
The other program I've used YAAC, can't do this trick.  What YAAC can do is 
process. .osm.bz2 mapfiles (takes a few hours) to generate a workable, usable 
and portable,offline mapset.  Doesn't look anything like other online OSM maps 
but is a perfectly decent dataset.  The Cloudmade based maps for Xastir looked 
like the 2006 Tiger mapsthat were a drop-in solution but had large X's for 
points of interest.
Kurt KC9LDH
      From: Kevin Ratcliff <[email protected]>
 To: Xastir - APRS client software discussion <[email protected]> 
 Sent: Monday, August 24, 2015 6:00 PM
 Subject: Re: [Xastir] Offline Maps update?
   
I do not have time to do a full reply at the moment, but I have
included below a copy below of a message I sent to the Xastir list
last month. Should get you started with offline OSM maps anyway.

Let me know if you run into problems and I'll reply when I can, or
perhaps someone with more knowledge of this than me will chime in.

Apologies for top posting, but I'm really running late for something!

Kevin
KB9MQU

*****

From: Kevin Ratcliff <[email protected]>
Date: Tue, Jul 7, 2015 at 4:23 AM
Subject: Re: [Xastir] How to create DBFAWK
To: Xastir - APRS client software discussion <[email protected]>


Skyler,

Are you referring to the OpenStreetMaps shapefile extracts that are
free to download from http://download.geofabrik.de/? If so, you may be
able to take a "shortcut" on your quest to get labels. Let me explain.

A few years ago there were OSM shapefile extracts available at
http://downloads.cloudmade.com/. The xastir developers did a lot of
work creating custom dbfawk files for these shapefiles. The really
nice thing about the dbfawk files for these shapefiles is that they
not only labeled the street names but also color coded them by type
and such. They weren't as pretty looking as the online OSM tiles, but
they worked offline and were extremely fast for panning/zooming. Sadly
the Cloudmade free download service no longer exists.

It appears all is not lost though. The Geofabrik shapefile DBF file
fields aren't that much different from the Cloudmade DBF fields. I
just tried a quick hack on an existing dbfawk file that was designed
for a Cloudmade shapefile and it seemed to work with little
modification using a Geofabrik shapefile.

Here's what I did (I'm sure there are better ways of doing this, but I
dunno what they are):

I located the original file named OSM_Cloudmade_highway.dbfawk (on my
system it was located in /usr/share/xastir/config/) and copied that
file to new file called roads.dbfawk in my xastir maps directory (next
to the other roads.* files that I downloaded from Geofabrik). Then I
looked at the format of the Geofabrik roads.dbf file and based on that
made a couple simple changes to my roads.dbfawk file:

Change the line that reads

dbfinfo="TYPE:NAME:ONEWAY:LANES";

to

dbfinfo="OSM_ID:NAME:REF:TYPE:ONEWAY:BRIDGE:TUNNEL:MAXSPEED";

and change the line that reads

dbffields="TYPE:NAME:ONEWAY:LANES";

to

dbffields="TYPE:NAME:ONEWAY";

With luck, you should now be able to re-index your maps in xastir and
open your roads.shp and see a nicer looking map with streets labeled.

Perhaps if there is enough demand for offline OSM maps in xastir
someone could do a better job of converting the existing Cloudmade
dbfawk files to work with the Geofabrik shapefiles and include the
dbfawk files in the xastir source (sorry, I'm not volunteering).

Kevin
KB9MQU

On Sun, Aug 23, 2015 at 6:23 PM, Kurt <[email protected]> wrote:
> Ok,
>
>  Tiger 2006 maps have gone away.  I still have a copy of few of them around.
>
> Cloudmade version of the shapefiles not longer can be had.
>
> What's a body to do along with this link on the Wiki?  
> ftp://ftp2.census.gov/geo/tiger/TIGER2009/
>
> Just unzip all the files helter-skelter and move them into 
> /usr/local/share/xastir/maps/tiger2009?
>
> I've downloaded a couple of states but wonder how to proceed from there.  
> There are a pile of files
> that are listed below the county folders.  Are these important? (listing 
> below)
>
> What I'm looking for is a data set that's comparable to the old Cloudmade 
> shapefile maps.
> Is it possible?  Yeah, I know one cannot cache and display OSM maps directly 
> in Xastir.
> So be it, but what about some alternative offline strategies?
>
> Oh,  I built a new install of Xastir-2.0.6 on Ubuntu 14.04 and I got support 
> in for everything
> that's displayed at the ./configure summary including map caching.  Kurt 
> KC9LDH
>
> File:tl_2009_17_bg00.zip        16588 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_cbsa.zip        653 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_cd108.zip      1323 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_cd111.zip      1330 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_county.zip      1528 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_county00.zip    1509 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_countyec.zip    1513 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_cousub.zip      5692 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_cousub00.zip    5759 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_csa.zip        219 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_elsd.zip        1681 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_elsd00.zip      1671 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_metdiv.zip      60 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_mil.zip        27 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_place.zip      4618 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_place00.zip    4401 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_placeec.zip    6809 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_puma100.zip    889 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_puma500.zip    1915 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_scsd.zip        901 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_scsd00.zip      893 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_sldl.zip        2260 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_sldl00.zip      2115 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_sldu.zip        1753 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_sldu00.zip      1579 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_state.zip      155 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_state00.zip    155 KB  09/22/2009      12:00:00 AM
> File:tl_2009_17_tabblock.zip    161960 KB      09/22/2009      12:00:00 AM
> File:tl_2009_17_tabblock00.zip  150158 KB      09/22/2009      12:00:00 AM
> File:tl_2009_17_tract00.zip    8598 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_unsd.zip        3196 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_unsd00.zip      3231 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_zcta3.zip      2449 KB        09/22/2009      12:00:00 AM
> File:tl_2009_17_zcta5.zip      15681 KB        09/22/2009      12:00:00 AM
>
>
> _______________________________________________
> Xastir mailing list
> [email protected]
> http://xastir.org/mailman/listinfo/xastir


_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir


  
_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to