[Xastir] 2006-SE tiger maps
The SE maps are great. I was running mobile with a bluetooth GPS and the maps and the 1.9 software worked just fine. Now to abuse Gerry's server 73 from 807, Richard, N6NKO ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] snapshots.
On Wed, 6 Jun 2007, John Ronan wrote: Is anyone having difficulty with the most recent version of xastir from cvs? This only started recently, and I'm not sure if its a problem with the raster image I am using or something else. I get an error message of convert: Improper image header `snapshot.xpm'. I've had to turn off all raster images.. including ones I had working before. It's working fine here. Did you perhaps update your ImageMagick files recently? Perhaps you got one without XPM support or that has bugs. Perhaps the library you're using for XPM support got updated to a non-working version. Check whether the snapshot.xpm file in ~/.xastir/tmp/ is ok. Xastir creates an XPM file and then calls ImageMagick's convert to create a PNG image out of it. -- 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] New FC7 install troubles with both Release and Stable CVS
Group, I was following the How-to's for Fedora at the Wiki. I followed most of the guidelines except used the GUI Package Manager for more of the packages than the instructions called for. I only had to install libgeotiff from source at the command line. Fedora 7 is brand new - updated to recent packages - with nothing else except Xastir. The bootstrap and configure go well with no warnings or errors. The final report from configure is pasted at the bottom. Now here's the error. I think this is almost the last step, so I think I'm SOOO close. Any ideas on what to try? -Steve make[3]: Entering directory `/usr/local/src/xastir/src' gcc -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -Wl,--no-keep-memory -L/usr/local/lib -lgdal -lWand -lMagick -o xastir alert.o awk.o bulletin_gui.o color.o datum.o db.o dbfawk.o draw_symbols.o fcc_data.o festival.o geo-find.o geocoder_gui.o gps.o hashtable.o hashtable_itr.o hostname.o igate.o interface.o interface_gui.o io-common.o io-mmap.o lang.o list_gui.o locate_gui.o location.o location_gui.o main.o maps.o map_cache.o map_dos.o map_gdal.o map_geo.o map_gnis.o map_pdb.o map_shp.o map_tif.o map_tiger.o map_WMS.o messages.o messages_gui.o objects.o popup_gui.o rac_data.o rotated.o rpl_malloc.o shp_hash.o snprintf.o sound.o track_gui.o util.o view_message_gui.o wx.o wx_gui.o x_spider.o xa_config.o compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 -lWand -lMagick -ldb-4.5 -lrt -lcurl -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lshp -lpcre -lproj -ltiff -lgeotiff -lgdal /usr/bin/ld: rtree/librtree.a(split_l.o)(.text+0x27f): unresolvable R_386_32 relocation against symbol `CoverSplit' /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[3]: *** [xastir] Error 1 make[3]: Leaving directory `/usr/local/src/xastir/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/xastir/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/xastir' make: *** [all] Error 2 [EMAIL PROTECTED] xastir]# configure: creating ./config.status config.status: creating Makefile config.status: creating callpass/Makefile config.status: creating config/Makefile config.status: creating help/Makefile config.status: creating m4/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating src/rtree/Makefile config.status: creating src/shapelib/Makefile config.status: creating src/shapelib/contrib/Makefile config.status: creating symbols/Makefile config.status: creating xastir.spec config.status: creating xastir-min.spec config.status: creating xastir-lsb.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands === xastir 1.9.0 has been configured to use the following options and external libraries: Building with AX25 . : no Building with Festival . : yes Building with GPSMan ... : no Building with GraphicsMagick/ImageMagick ... : ImageMagick Building with libproj .. : yes Building with GeoTiff .. : yes Building with GDAL/OGR . : yes Building with ShapeLib . : yes Building with pcre . : yes Building with dbfawk ... : yes Building with map caching .. : yes Building with rtree indexing ... : yes -- Building with ErrorPopups (Old Method) . : no Building with libgc (Debug) : no Building with profiling (Debug) : no Building with Linux Standard Base .. : no xastir will be installed in /usr/local/bin. ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] New FC7 install troubles with both Release and Stable CVS
On Fri, Jun 08, 2007 at 02:20:01PM -0700, we recorded a bogon-computron collision of the [EMAIL PROTECTED] flavor, containing: Group, I was following the How-to's for Fedora at the Wiki. I followed most of the guidelines except used the GUI Package Manager for more of the packages than the instructions called for. I only had to install libgeotiff from source at the command line. Fedora 7 is brand new - updated to recent packages - with nothing else except Xastir. The bootstrap and configure go well with no warnings or errors. The final report from configure is pasted at the bottom. Now here's the error. I think this is almost the last step, so I think I'm SOOO close. Any ideas on what to try? None, really. I remember someone saying they'd seen that error in FC6 or FC7, and I tried googling the error message --- but I can't find anything that helps me figure out why that's happening. AFAICT it's only happening on that system, I can't reproduce it on any of mine, or I'd possibly be able to figure it out. I have no FC system of any vintage, and insufficient time to install FC7 into a VMware virtual machine to do the debugging. The error is in the rtree library, so a temporary work-around is to disable rtree support (by specifying --without-rtree on the configure line for xastir). One fishy thing that I am looking at in the rtree library is that two different files (split_q.h and split_l.h) declare a variable CoverSplit as a global variable. It's possible that these are interfering with each other somehow (why that's not happening with other systems is beyond me, but it might be the explanation). If it is what's going on, then this *might* fix the problem: edit the file src/rtree/split_q.h and change the line: struct Rect CoverSplit; to struct Rect qCoverSplit; then edit the file src/rtree/split_q.c and change all the instances where that variable is used to qCoversplit, too. To make it easy, I'm attaching a unified diff that will make those two changes. If this change makes the error messages go away, then I'll commit the change to the repository. If not, well, it was an attractive straw to grasp at. To apply the patch, copy the attached patch file to your src/rtree directory and type patch -p0 splitqdiffs it will update both files and then you can recompile. Please let me know what happens. -- 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 And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit! --- The Tick ? splitq.diffs ? splitqdiffs Index: split_q.c === RCS file: /cvsroot/xastir/xastir/src/rtree/split_q.c,v retrieving revision 1.4 diff -u -u -r1.4 split_q.c --- split_q.c 3 Jan 2007 19:38:41 - 1.4 +++ split_q.c 9 Jun 2007 02:22:35 - @@ -60,12 +60,12 @@ BranchCount = MAXKIDS(n) + 1; /* calculate rect containing all in the set */ - CoverSplit = BranchBuf[0].rect; + qCoverSplit = BranchBuf[0].rect; for (i=1; iMAXKIDS(n)+1; i++) { - CoverSplit = RTreeCombineRect(CoverSplit, BranchBuf[i].rect); + qCoverSplit = RTreeCombineRect(qCoverSplit, BranchBuf[i].rect); } - CoverSplitArea = RTreeRectSphericalVolume(CoverSplit); + CoverSplitArea = RTreeRectSphericalVolume(qCoverSplit); RTreeInitNode(n); } Index: split_q.h === RCS file: /cvsroot/xastir/xastir/src/rtree/split_q.h,v retrieving revision 1.4 diff -u -u -r1.4 split_q.h --- split_q.h 3 Jan 2007 19:38:41 - 1.4 +++ split_q.h 9 Jun 2007 02:22:35 - @@ -39,7 +39,7 @@ struct Branch BranchBuf[MAXCARD+1]; int BranchCount; -struct Rect CoverSplit; +struct Rect qCoverSplit; RectReal CoverSplitArea; /* variables for finding a partition */ ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Caching maps?
On Thursday 07 June 2007 11:19:02 Curt, WE7U wrote: On Thu, 7 Jun 2007, Earl Needham wrote: Xterm? I've been starting it from an icon on the desktop. snip You could set up your desktop icon to start it like this: xterm -iconic -T Xastir -n Xastir -e xastir -geometry 800x600-0-0 OK -- that works great. I have a couple of days off so I can get some of this stuff fixed. Earl -- KD5XB -- Earl Needham Clovis, New Mexico DM84jk http://groups.yahoo.com/group/cw_bugs running Kubuntu 7.04 ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Caching maps?
On Fri, Jun 08, 2007 at 09:45:56PM -0600, we recorded a bogon-computron collision of the [EMAIL PROTECTED] flavor, containing: Well I seem to have map caching working -- so let me ask a couple of questions about maps -- First, how long will a particular map stay in the cache? Until you clear the cache, I believe. I'm not aware of any time-out. Second -- is the size of the cache limited, other than room left on the hard drive? No. Third -- is there more than one flavor of Tiger maps? You can configure how the on-line tiger maps are chosen (i.e. with different types of features enabled). Other than that, there's only on-line Tiger maps and local shapefile Tiger maps --- they're both from the same data, but the on-line ones are rendered at the Census web server and downloaded as a raster, and the local shapefiles are rendered by Xastir as vector data. -- 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 And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit! --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] New FC7 install troubles with both Release and Stable CVS
Tom, Thank you for responding. I applied the patch that you sent, and it didn't cure the problem. The same error still results after make. It was a very clever idea though! So, I reupdated from CVS and configure --without-rtree. Make then finishes, and the application runs. What am I missing without rtree? Wiklipedia tells me that rtrees are ways of indexing spatial data... Seems like most of Xastir would need that! -Steve On Friday, June 08, 2007, at 07:26PM, Tom Russo [EMAIL PROTECTED] wrote: On Fri, Jun 08, 2007 at 02:20:01PM -0700, we recorded a bogon-computron collision of the [EMAIL PROTECTED] flavor, containing: Group, I was following the How-to's for Fedora at the Wiki. I followed most of the guidelines except used the GUI Package Manager for more of the packages than the instructions called for. I only had to install libgeotiff from source at the command line. Fedora 7 is brand new - updated to recent packages - with nothing else except Xastir. The bootstrap and configure go well with no warnings or errors. The final report from configure is pasted at the bottom. Now here's the error. I think this is almost the last step, so I think I'm SOOO close. Any ideas on what to try? None, really. I remember someone saying they'd seen that error in FC6 or FC7, and I tried googling the error message --- but I can't find anything that helps me figure out why that's happening. AFAICT it's only happening on that system, I can't reproduce it on any of mine, or I'd possibly be able to figure it out. I have no FC system of any vintage, and insufficient time to install FC7 into a VMware virtual machine to do the debugging. The error is in the rtree library, so a temporary work-around is to disable rtree support (by specifying --without-rtree on the configure line for xastir). One fishy thing that I am looking at in the rtree library is that two different files (split_q.h and split_l.h) declare a variable CoverSplit as a global variable. It's possible that these are interfering with each other somehow (why that's not happening with other systems is beyond me, but it might be the explanation). If it is what's going on, then this *might* fix the problem: edit the file src/rtree/split_q.h and change the line: struct Rect CoverSplit; to struct Rect qCoverSplit; then edit the file src/rtree/split_q.c and change all the instances where that variable is used to qCoversplit, too. To make it easy, I'm attaching a unified diff that will make those two changes. If this change makes the error messages go away, then I'll commit the change to the repository. If not, well, it was an attractive straw to grasp at. To apply the patch, copy the attached patch file to your src/rtree directory and type patch -p0 splitqdiffs it will update both files and then you can recompile. Please let me know what happens. -- 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 And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit! --- The Tick ? splitq.diffs ? splitqdiffs Index: split_q.c === RCS file: /cvsroot/xastir/xastir/src/rtree/split_q.c,v retrieving revision 1.4 diff -u -u -r1.4 split_q.c --- split_q.c 3 Jan 2007 19:38:41 - 1.4 +++ split_q.c 9 Jun 2007 02:22:35 - @@ -60,12 +60,12 @@ BranchCount = MAXKIDS(n) + 1; /* calculate rect containing all in the set */ - CoverSplit = BranchBuf[0].rect; + qCoverSplit = BranchBuf[0].rect; for (i=1; iMAXKIDS(n)+1; i++) { - CoverSplit = RTreeCombineRect(CoverSplit, BranchBuf[i].rect); + qCoverSplit = RTreeCombineRect(qCoverSplit, BranchBuf[i].rect); } - CoverSplitArea = RTreeRectSphericalVolume(CoverSplit); + CoverSplitArea = RTreeRectSphericalVolume(qCoverSplit); RTreeInitNode(n); } Index: split_q.h === RCS file: /cvsroot/xastir/xastir/src/rtree/split_q.h,v retrieving revision 1.4 diff -u -u -r1.4 split_q.h --- split_q.h 3 Jan 2007 19:38:41 - 1.4 +++ split_q.h 9 Jun 2007 02:22:35 - @@ -39,7 +39,7 @@ struct Branch BranchBuf[MAXCARD+1]; int BranchCount; -struct Rect CoverSplit; +struct Rect qCoverSplit; RectReal CoverSplitArea; /* variables for finding a partition */ ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] New FC7 install troubles with both Release and Stable CVS
Stephen Peters wrote: Group, I was following the How-to's for Fedora at the Wiki. I followed most of the guidelines except used the GUI Package Manager for more of the packages than the instructions called for. I only had to install libgeotiff from source at the command line. Fedora 7 is brand new - updated to recent packages - with nothing else except Xastir. The bootstrap and configure go well with no warnings or errors. The final report from configure is pasted at the bottom. Now here's the error. I think this is almost the last step, so I think I'm SOOO close. Any ideas on what to try? -Steve make[3]: Entering directory `/usr/local/src/xastir/src' gcc -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -Wl,--no-keep-memory -L/usr/local/lib -lgdal -lWand -lMagick -o xastir alert.o awk.o bulletin_gui.o color.o datum.o db.o dbfawk.o draw_symbols.o fcc_data.o festival.o geo-find.o geocoder_gui.o gps.o hashtable.o hashtable_itr.o hostname.o igate.o interface.o interface_gui.o io-common.o io-mmap.o lang.o list_gui.o locate_gui.o location.o location_gui.o main.o maps.o map_cache.o map_dos.o map_gdal.o map_geo.o map_gnis.o map_pdb.o map_shp.o map_tif.o map_tiger.o map_WMS.o messages.o messages_gui.o objects.o popup_gui.o rac_data.o rotated.o rpl_malloc.o shp_hash.o snprintf.o sound.o track_gui.o util.o view_message_gui.o wx.o wx_gui.o x_spider.o xa_config.o compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 -lWand -lMagick -ldb-4.5 -lrt -lcurl -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lshp -lpcre -lproj -ltiff -lgeotiff -lgdal /usr/bin/ld: rtree/librtree.a(split_l.o)(.text+0x27f): unresolvable R_386_32 relocation against symbol `CoverSplit' /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[3]: *** [xastir] Error 1 make[3]: Leaving directory `/usr/local/src/xastir/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/xastir/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/xastir' make: *** [all] Error 2 [EMAIL PROTECTED] xastir]# configure: creating ./config.status config.status: creating Makefile config.status: creating callpass/Makefile config.status: creating config/Makefile config.status: creating help/Makefile config.status: creating m4/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating src/rtree/Makefile config.status: creating src/shapelib/Makefile config.status: creating src/shapelib/contrib/Makefile config.status: creating symbols/Makefile config.status: creating xastir.spec config.status: creating xastir-min.spec config.status: creating xastir-lsb.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands === xastir 1.9.0 has been configured to use the following options and external libraries: Building with AX25 . : no Building with Festival . : yes Building with GPSMan ... : no Building with GraphicsMagick/ImageMagick ... : ImageMagick Building with libproj .. : yes Building with GeoTiff .. : yes Building with GDAL/OGR . : yes Building with ShapeLib . : yes Building with pcre . : yes Building with dbfawk ... : yes Building with map caching .. : yes Building with rtree indexing ... : yes -- Building with ErrorPopups (Old Method) . : no Building with libgc (Debug) : no Building with profiling (Debug) : no Building with Linux Standard Base .. : no xastir will be installed in /usr/local/bin. ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir Stephen, I just installed the current CVS of Xastir on 3 different F7 boxen with no issues at all. I followed the Fedora CVS howto on the wiki site - step by step and had no problems at all. I suspect - but don't know for sure - that you haven't modified the /etc/ld.so.conf file or not run /sbin/ldconfig as directed in the howto(?). http://www.xastir.org/wiki/index.php/HowTo:Fedora Following the howto instructions, at the end of ./configure I get: Building with AX25 . : no Building with Festival . : yes Building with GPSMan ... : no Building with GraphicsMagick/ImageMagick ... : ImageMagick Building with libproj .. : yes Building with GeoTiff
Re: [Xastir] New FC7 install troubles with both Release and Stable CVS
Tate, I just double-checked the ld.so.conf and re-ran ldconfig. Neither seems to change the error message. One interesting thing, is that I don't have a /usr/X11R6/lib directory. I do have a /usr/lib/X11 directory, but it's empty. Thank you for the suggestion! It is also very good to know you've got it running on F7. When I compile without rtree, it does work fine. I must have something weird going on here with that package. -Steve On Jun 9, 2007, at 12:30 AM, Tate Belden wrote: I just installed the current CVS of Xastir on 3 different F7 boxen with no issues at all. I followed the Fedora CVS howto on the wiki site - step by step and had no problems at all. I suspect - but don't know for sure - that you haven't modified the /etc/ld.so.conf file or not run /sbin/ldconfig as directed in the howto(?). http://www.xastir.org/wiki/index.php/HowTo:Fedora ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir