Re: [Xastir] Map Load Speed

2008-05-23 Thread Curt, WE7U
On Fri, 23 May 2008, Tom Russo wrote:

> To speed up rendering at high zoom levels, you'll have to create multiple
> shapefiles with only features that are meant to render at close zooms, and
> then exclude those shapefiles from being loaded at high zooms by using the 
> map 
> properties.

There's another method that's a lot less work, but also much less
flexible/desirable:

Zoom way out, get the size of image you want, then create a snapshot
of it.  Save the snapshot and the .GEO file that matches it under
new filenames.  Set that map up to display when you're zoomed out,
and the Shapefiles to display when zoomed in.

You can of course modify this technique to multiple snapshots for
multiple zoom levels, and panning left/right/up/down to create
additional snapshots at each zoom.

When zoomed out this will have the same advantages and disadvantages
as other raster-format images, but when zoomed in you have the full
capability of vector files.

-- 
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] Map Load Speed

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 10:25:53PM -0400, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> Is there a way to speed up the loading of maps? Specifically, when I  
> use the line maps and dbfawk conversions it is wicked slow anytime I  
> am zoomed out beyond 64. The further out, the slower it is. It is  
> about intolerable beyond 128. So generally I keep it zoomed in to 64  
> or less. Often that is good enough, but for a large scale event (like  
> the one I am to attend this weekend) I would like to see a broader  
> map without sacrificing speed every time I make an adjustment.

Yes, but you have to do some work.

The problem is that as you zoom out, more and more of the shapes in the
shapefile are within the screen area, but the more you zoom out, the fewer
of them are ultimately displayed due to settings in the dbfawk file.  What
is happening is that every one of those shapes is scanned and matched to
the dbfawk file, and then discarded.


To speed up rendering at high zoom levels, you'll have to create multiple
shapefiles with only features that are meant to render at close zooms, and
then exclude those shapefiles from being loaded at high zooms by using the map 
properties.

For example, the TIGER/Line 2006_SE files with the stock tgr2shp.dbfawk
file renders roads with CFCC values A1 to A3 at all zoom levels at or below
8192.  CFCC values A31 through A36 are only rendered at or below zoom 256,
and CFCC values A37 through A38 are only at zoom 128 or below.  There are
still other features that are only displayed at zoom levels of 64 or 96.

You could use ogr2ogr and a "where" clause to create new shapefiles that
contained only those features that should be rendered at 128 or below, 
only 256 or below, and above 256, then use the min and max zoom feature
to exclude the low-zoom files completely --- they wouldn't even be scanned.

This is a good bit of work to do, but if you really want fast map rendering,
you have to make the job xastir is doing easier for it.  It's doing a lot
of file access and processing for every shapefile, and the farther you're
zoomed out, the more work it's doing.  That it's doing all that work only
to decide not to display something is the issue, and the above technique will
fix it.  But the price is that you'll have split the monolithic county 
shapefiles

As a quick example, you could separate out all of those roads that are
supposed to be displayed at the high zoom levels (those with A1 and A2)
with:

 ogr2ogr -where "CFCC like 'A1%' or CFCC like 'A2%'" output1.shp input.shp

where input.shp is one of the TIGER 2006_SE polyline files.  You could select
all of the features that are NOT in that group with:

 ogr2ogr -where "CFCC like 'A%' and not (CFCC like 'A1%' or CFCC like 'A2%')"  
output2.shp input.shp

Then tell Xastir to load output1.shp at all zoom levels, but output2 only at 
zoom levels less than 8192.  That would eliminate all the local roads from 
those wide zooms, where they wouldn't be displayed anyway.

Obviously, you'd have to do a *lot* more work than just those two extractions,
since there are many more things that get decided by the dbfawk file.  But
that's how you'd go about it, using the dbfawk's "display_level" setting
to guide you.

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] Map Load Speed

2008-05-23 Thread Richard Polivka, N6NKO
I have to tweak the .dbfawk files to eliminate what I don't want at 
which magnification.


This is where I get the most speedup.

73 from 807,

Richard, N6NKO


Chip Griffin wrote:
Is there a way to speed up the loading of maps? Specifically, when I 
use the line maps and dbfawk conversions it is wicked slow anytime I 
am zoomed out beyond 64. The further out, the slower it is. It is 
about intolerable beyond 128. So generally I keep it zoomed in to 64 
or less. Often that is good enough, but for a large scale event (like 
the one I am to attend this weekend) I would like to see a broader map 
without sacrificing speed every time I make an adjustment.


(I am using a high end Mac laptop for this, so I don't believe it is 
hardware related.)



73,
--de Chip (N1MIE) FN41bn

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] (no subject)

2008-05-23 Thread Curt, WE7U
On Fri, 23 May 2008, Chip Griffin wrote:

> Is there a way to open, or convert into something that can be opened, a .pos
> file (I think it's from UIView).

What's it look like?  It is text, in a line format?  If so a Perl or
SED script could be whipped up to turn it into something useful.

-- 
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


[Xastir] Map Load Speed

2008-05-23 Thread Chip Griffin
Is there a way to speed up the loading of maps? Specifically, when I  
use the line maps and dbfawk conversions it is wicked slow anytime I  
am zoomed out beyond 64. The further out, the slower it is. It is  
about intolerable beyond 128. So generally I keep it zoomed in to 64  
or less. Often that is good enough, but for a large scale event (like  
the one I am to attend this weekend) I would like to see a broader  
map without sacrificing speed every time I make an adjustment.


(I am using a high end Mac laptop for this, so I don't believe it is  
hardware related.)



73,
--de Chip (N1MIE) FN41bn

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


[Xastir] (no subject)

2008-05-23 Thread Chip Griffin
Is there a way to open, or convert into something that can be opened,  
a .pos file (I think it's from UIView).


We are getting ready to run a public service event for which I would  
like to employ Xastir, but the 'overlay' was sent from a guy who uses  
UIView.


Any help would be greatly appreciated.


73,
--de Chip (N1MIE) FN41bn

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 08:55:12PM -0400, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> What is the location of the newer TIGER 2007 data? The wiki
> http://www.xastir.org/wiki/index.php/HowTo:MAPS#TIGER.2FLine_shapefiles
> does not mention it.

It's on the US Census site.  The Census is no longer distributing data in
the old TIGER format, and is doing shapefiles now.  So far I've heard 
unimpressive things about the data quality (lots of missing data) so I've
ignored it.

The location of the TIGER data is in README.MAPS:

 http://www.census.gov/geo/www/tiger/index.html

Nobody's bothered to update the Wiki since the 2007 shapefiles were posted.  

> On Fri, May 23, 2008 8:24 pm, Tom Russo wrote:
> > Yes, your dbfawk files mimic that style with the newer TIGER 2007 data, and
> > the existing files mimic them with the older 2006_SE data.  But there is
> > no way to make a dbfawk file that "displays the same as the online tiger 
> > maps"
> > because that requires a new rendering engine.

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread William McKeehan
What is the location of the newer TIGER 2007 data? The wiki
http://www.xastir.org/wiki/index.php/HowTo:MAPS#TIGER.2FLine_shapefiles
does not mention it.
-- 
William McKeehan
KI4HDU
http://mckeehan.homeip.net

On Fri, May 23, 2008 8:24 pm, Tom Russo wrote:
> Yes, your dbfawk files mimic that style with the newer TIGER 2007 data, and
> the existing files mimic them with the older 2006_SE data.  But there is
> no way to make a dbfawk file that "displays the same as the online tiger maps"
> because that requires a new rendering engine.
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 04:01:15PM -0700, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> The DBFAWK files I sent out on May 14 do mimic
> the online tiger maps.  If you can't find it in your
> past mail listings let me know and I can send them
> to you.

Yes, your dbfawk files mimic that style with the newer TIGER 2007 data, and
the existing files mimic them with the older 2006_SE data.  But there is
no way to make a dbfawk file that "displays the same as the online tiger maps"
because that requires a new rendering engine.

> On May 23, 2008, at 10:40 AM, Tom Russo wrote:
> 
> > On Fri, May 23, 2008 at 01:34:47PM -0400, we recorded a bogon- 
> > computron collision of the <[EMAIL PROTECTED]> flavor,  
> > containing:
> >> Is there any way to get a file created so it displays the same as  
> >> the on
> >> line tiger maps do within Xastir? That format looks great to me and  
> >> I would
> >> love to duplicate it with local tiger files.
> >
> >  All we can do is mimic color schemes and line styles
> > as best we can, which is what the existing dbfawk files do.
> >

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Craig Anderson

The DBFAWK files I sent out on May 14 do mimic
the online tiger maps.  If you can't find it in your
past mail listings let me know and I can send them
to you.

Craig
n6yxk

On May 23, 2008, at 10:40 AM, Tom Russo wrote:

On Fri, May 23, 2008 at 01:34:47PM -0400, we recorded a bogon- 
computron collision of the <[EMAIL PROTECTED]> flavor,  
containing:
Is there any way to get a file created so it displays the same as  
the on
line tiger maps do within Xastir? That format looks great to me and  
I would

love to duplicate it with local tiger files.


 All we can do is mimic color schemes and line styles
as best we can, which is what the existing dbfawk files do.


___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 01:34:47PM -0400, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> Is there any way to get a file created so it displays the same as the on
> line tiger maps do within Xastir? That format looks great to me and I would
> love to duplicate it with local tiger files.

Not really.  The closest we can get is with the TGR2006_SE data and the dbfawk 
files we already have (or to tweak them a little bit to improve rendering
style).

To render precisely like the on-line tiger maps would require a different
rendering engine, which is not a simple thing to do -- Xastir pretty much
just uses X11 drawing primitives to render vector maps, and it would be a major
rewrite of xastir to get it to render maps closer to the way various on-line
mapping sites do.  All we can do is mimic color schemes and line styles 
as best we can, which is what the existing dbfawk files do.

There is a growing number of open-source map rendering libraries out there,
but to adapt xastir to use them would practically require a complete 
rewrite of xastir.  Xastir's rendering is pretty deeply hard-wired.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Tom Russo
> Sent: Friday, May 23, 2008 1:20 PM
> To: Robert C. Rogers
> Cc: xastir@xastir.org
> Subject: Re: [Xastir] DBFAWK and map symbols
> 
> 
> On Fri, May 23, 2008 at 11:38:04AM -0400, we recorded a bogon-computron
> collision of the <[EMAIL PROTECTED]> flavor, containing:
> > It took a while, but I'm now making dbfawk files of my own.
> >
> > I saw in the file #   symbol  - 3 char 'TIO': table, ID, overlay
> >
> > So far I've not found any info on this function... I'm hoping it's a way
> > to display Interstate/US Hwy/State Hwy symbols with the numbers as the
> > overlay  Reading the names on the map is a bit tricky when on the
> road.
> 
> No, it's not.  There is currently no way to symbolize roads using standard
> highway symbols in xastir.
> 
> If you set "symbol" in a dbfawk rule, it allows a point feature (and only
> a point feature) to be symbolized by standard APRS symbols like the ones
> you can give to your station or to objects/items.  Table, ID and overlay
> are the character's you'd transmit in your posit (e.g. "/- " for a house,
> or "\#S" for a new n-N paradigm digipeater).
> 
> That field is typically used when you generate hand-rolled point shapefiles
> and want to symbolize them somehow (see README.MAPS for an example of how
> to do it).
> 
> --
> Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1
> http://kevan.org/brain.cgi?DDTNM
>  "It's so simple to be wise: just think of something stupid to say and
>   then don't say it."  --- Sam Levinson
> 
> ___
> Xastir mailing list
> Xastir@xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


RE: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Brian Webster
Is there any way to get a file created so it displays the same as the on
line tiger maps do within Xastir? That format looks great to me and I would
love to duplicate it with local tiger files.



Thank You,
Brian N2KGC

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Tom Russo
Sent: Friday, May 23, 2008 1:20 PM
To: Robert C. Rogers
Cc: xastir@xastir.org
Subject: Re: [Xastir] DBFAWK and map symbols


On Fri, May 23, 2008 at 11:38:04AM -0400, we recorded a bogon-computron
collision of the <[EMAIL PROTECTED]> flavor, containing:
> It took a while, but I'm now making dbfawk files of my own.
>
> I saw in the file #   symbol  - 3 char 'TIO': table, ID, overlay
>
> So far I've not found any info on this function... I'm hoping it's a way
> to display Interstate/US Hwy/State Hwy symbols with the numbers as the
> overlay  Reading the names on the map is a bit tricky when on the
road.

No, it's not.  There is currently no way to symbolize roads using standard
highway symbols in xastir.

If you set "symbol" in a dbfawk rule, it allows a point feature (and only
a point feature) to be symbolized by standard APRS symbols like the ones
you can give to your station or to objects/items.  Table, ID and overlay
are the character's you'd transmit in your posit (e.g. "/- " for a house,
or "\#S" for a new n-N paradigm digipeater).

That field is typically used when you generate hand-rolled point shapefiles
and want to symbolize them somehow (see README.MAPS for an example of how
to do it).

--
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1
http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 11:20:11AM -0600, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> On Fri, May 23, 2008 at 11:38:04AM -0400, we recorded a bogon-computron 
> collision of the <[EMAIL PROTECTED]> flavor, containing:
> > It took a while, but I'm now making dbfawk files of my own.
> > 
> > I saw in the file #   symbol  - 3 char 'TIO': table, ID, overlay
> > 
> > So far I've not found any info on this function... I'm hoping it's a way 
> > to display Interstate/US Hwy/State Hwy symbols with the numbers as the 
> > overlay  Reading the names on the map is a bit tricky when on the road.
> 
> No, it's not.  There is currently no way to symbolize roads using standard
> highway symbols in xastir.
> 
> If you set "symbol" in a dbfawk rule, it allows a point feature (and only
> a point feature) to be symbolized by standard APRS symbols like the ones
> you can give to your station or to objects/items.  Table, ID and overlay
> are the character's you'd transmit in your posit (e.g. "/- " for a house,
> or "\#S" for a new n-N paradigm digipeater).
> 
> That field is typically used when you generate hand-rolled point shapefiles
> and want to symbolize them somehow (see README.MAPS for an example of how
> to do it).

For more information about dbfawk, consult
http://www.xastir.org/wiki/index.php/HowTo:DBFAWK

Unfortunately, it doesn't document "symbol" that much except to mention
it's for point data.  The "group/symbol/overlay" terminology is meant to
reflect that it's the same as APRS station and object symbols, but that
could be made more clear.

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] DBFAWK and map symbols

2008-05-23 Thread Tom Russo
On Fri, May 23, 2008 at 11:38:04AM -0400, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> It took a while, but I'm now making dbfawk files of my own.
> 
> I saw in the file #   symbol  - 3 char 'TIO': table, ID, overlay
> 
> So far I've not found any info on this function... I'm hoping it's a way 
> to display Interstate/US Hwy/State Hwy symbols with the numbers as the 
> overlay  Reading the names on the map is a bit tricky when on the road.

No, it's not.  There is currently no way to symbolize roads using standard
highway symbols in xastir.

If you set "symbol" in a dbfawk rule, it allows a point feature (and only
a point feature) to be symbolized by standard APRS symbols like the ones
you can give to your station or to objects/items.  Table, ID and overlay
are the character's you'd transmit in your posit (e.g. "/- " for a house,
or "\#S" for a new n-N paradigm digipeater).

That field is typically used when you generate hand-rolled point shapefiles
and want to symbolize them somehow (see README.MAPS for an example of how
to do it).

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "It's so simple to be wise: just think of something stupid to say and
  then don't say it."  --- Sam Levinson

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


[Xastir] DBFAWK and map symbols

2008-05-23 Thread Robert C. Rogers

It took a while, but I'm now making dbfawk files of my own.

I saw in the file #   symbol  - 3 char 'TIO': table, ID, overlay

So far I've not found any info on this function... I'm hoping it's a way 
to display Interstate/US Hwy/State Hwy symbols with the numbers as the 
overlay  Reading the names on the map is a bit tricky when on the road.


If there is further info on TIO please send the link and I'll dig into it...

73

--
Bob

N8FAU Saranac, MI
since 1982



___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir