Re: [Xastir] OpenStreetMaps Update

2010-06-12 Thread Curt, WE7U

On Fri, 11 Jun 2010, Jerry Dunmire wrote:


I am actually thinking about how to select the other map styles. I'm
not quite sure how yet, but probably by different key words in the
.osm/.geo file. A separate file (by no new extensions!) would used for
each style. That way no new selection process/GUI would need to be
added. However this feature is still a thought experiment...


Similar to how the MS Terraserver selections are done now.

--
Curt, WE7U. http://www.eskimo.com/~archer
   APRS:  Where it's at!http://www.xastir.org
  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@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] OpenStreetMaps Update

2010-06-12 Thread Jerry Dunmire
Yup, that should do the job.
Thanks,
...jerry


On Fri, Jun 11, 2010 at 11:20 PM, Curt, WE7U curt.w...@gmail.com wrote:
 On Fri, 11 Jun 2010, Jerry Dunmire wrote:

 I am actually thinking about how to select the other map styles. I'm
 not quite sure how yet, but probably by different key words in the
 .osm/.geo file. A separate file (by no new extensions!) would used for
 each style. That way no new selection process/GUI would need to be
 added. However this feature is still a thought experiment...

 Similar to how the MS Terraserver selections are done now.

 --
 Curt, WE7U.                         http://www.eskimo.com/~archer
   APRS:  Where it's at!                    http://www.xastir.org
  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@lists.xastir.org
 http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

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


Re: [Xastir] OpenStreetMaps Update

2010-06-11 Thread Andrew Errington
On Fri, June 11, 2010 14:03, Jerry Dunmire wrote:
 I hadn't noticed the extension collision. I was looking only at the
 Xastir use. Do you have any suggestions for a more appropriate
 extension?

Not really.  I don't really know what you would classify the contents of
the file as.  The .geo files are genuine .geo files, and other files which
contain data in a well-known format should use the well-known extension.

Since this is a Unix-like system there's no need for extensions anyway, or
you could use the catch-all .dat.

Either way, I encourage you to drop the 's' as OSM itself is not plural. 
(Pedantic programmer is pedantic).

Since these are still early days, have you considered how to get the other
rendered tiles (assuming they are available)?  For example (for those
who've never played with OSM) you can click on a plus symbol (+) at the
upper right hand side of the map at the OSM site (www.osm.org) and switch
to different rendered views of the data.  The default at OSM is Mapnik. 
The tiles we are viewing in Xastir seem to be Osmarender.  The third one
you can see is CycleMap, which includes (approximate) topo lines.

If we have generic WMS support we should be able to specify any WMS server
and it should Just Work.

73,

A

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


Re: [Xastir] OpenStreetMaps Update

2010-06-11 Thread Jerry Dunmire
Hi Andrew,
Thanks for the suggestions. I'll think about changing the file name,
but I don't want to do that too many times because of the disruption
it causes.

As for the file extensions, all I can say at this point is that xastir
uses the file extension as part of it's internal logic. This isn't a
OS level choice, but part of the core logic of this particular
application. The clearest way to make the decision to about when
scaling should be binned or linear was by creating another 'file type'
(as defined by file extension). Any other way would have caused me to
add new code to parse file contents at places were the file contents
are not presently available. I'm sure this is part of why I'm being
encouraged to change to the linear scaling as soon as possible. If the
linear scaling works acceptably then OpenStreetMap.geo (no 's' - I'm
trying :-) ) will come back as the way to select the linear scaling
for OSM. At that point the .osm extension could be dropped if the
binned scaling is no longer desirable. I would like to hold off that
decision until I see the linear scaling in-action on OSM bitmaps.

I am actually thinking about how to select the other map styles. I'm
not quite sure how yet, but probably by different key words in the
.osm/.geo file. A separate file (by no new extensions!) would used for
each style. That way no new selection process/GUI would need to be
added. However this feature is still a thought experiment...

73,
...jerry

On Thu, Jun 10, 2010 at 11:29 PM, Andrew Errington
a.erring...@lancaster.ac.uk wrote:
 On Fri, June 11, 2010 14:03, Jerry Dunmire wrote:
 I hadn't noticed the extension collision. I was looking only at the
 Xastir use. Do you have any suggestions for a more appropriate
 extension?

 Not really.  I don't really know what you would classify the contents of
 the file as.  The .geo files are genuine .geo files, and other files which
 contain data in a well-known format should use the well-known extension.

 Since this is a Unix-like system there's no need for extensions anyway, or
 you could use the catch-all .dat.

 Either way, I encourage you to drop the 's' as OSM itself is not plural.
 (Pedantic programmer is pedantic).

 Since these are still early days, have you considered how to get the other
 rendered tiles (assuming they are available)?  For example (for those
 who've never played with OSM) you can click on a plus symbol (+) at the
 upper right hand side of the map at the OSM site (www.osm.org) and switch
 to different rendered views of the data.  The default at OSM is Mapnik.
 The tiles we are viewing in Xastir seem to be Osmarender.  The third one
 you can see is CycleMap, which includes (approximate) topo lines.

 If we have generic WMS support we should be able to specify any WMS server
 and it should Just Work.

 73,

 A

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

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


[Xastir] OpenStreetMaps Update

2010-06-10 Thread Jerry Dunmire
Curt has committed a new set of patches from me to CVS that should fix
some of OSM problems that have been reported. The new code processes
the scaling/level change when the OSM maps are selected, deselected,
and at startup. The scaling is still binned.

Note, if you are running a previous version of Xastir with OSM support
you will need to delete the OpenStreetMap.geo file. It is typically
installed in /usr/local/share/xastir/maps/Online/. You should also
deselect the OpenStreetMap.geo in the Map Chooser dialog.

The new map file is named OpenStreetMap.osm. Select it to enable OSM maps.

Known issues:
 * The big one is that scaling is not continuous.
I will be working on this problem next.

 * The map region displayed after an area-zoom may be smaller that the
area selected with the mouse.
I think this problem will go away with continuous scaling, so I'm
delaying any further investigation until the continuous scaling is
working.

 * OSM support should use tiles rather than OSM StaticMaps.
   I agree and I'm planning on this for a future release.

Let me know about other problems you observe with the OSM support.
Reports that include instructions on how to reproduce the problem are
particularly helpful.

Thank you Curt, Tom, and the other great Xastir developers for your
suggestions and assistance!

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


Re: [Xastir] OpenStreetMaps Update

2010-06-10 Thread Andrew Errington
On Fri, June 11, 2010 12:23, Jerry Dunmire wrote:
snip
 The new map file is named OpenStreetMap.osm. Select it to enable OSM
 maps.

May I respectfully point out that .osm is the extension given to the
native OSM data files used by JOSM (the Java OSM editor) and other
exported OSM files.

I would also like to add that OpenStreetMap.something is better than
OpenStreetMaps.something (i.e. you've dropped the 's').  Thank you.

73,

Andrew

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



Re: [Xastir] OpenStreetMaps Update

2010-06-10 Thread Jerry Dunmire
My announcement was incorrect. The new file name has an 's' in it. The
new map file name is:

OpenStreetMaps.osm

Sorry for any confusion I caused.
...jerry


On Thu, Jun 10, 2010 at 9:20 PM, Andrew Errington
a.erring...@lancaster.ac.uk wrote:
 On Fri, June 11, 2010 12:23, Jerry Dunmire wrote:
 snip
 The new map file is named OpenStreetMap.osm. Select it to enable OSM
 maps.

 May I respectfully point out that .osm is the extension given to the
 native OSM data files used by JOSM (the Java OSM editor) and other
 exported OSM files.

 I would also like to add that OpenStreetMap.something is better than
 OpenStreetMaps.something (i.e. you've dropped the 's').  Thank you.

 73,

 Andrew

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

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