Installing Rel 0.43 on Unbuntu 12.04 / goodies Wcs2kml

68 views
Skip to first unread message

Jean-Paul Godard

unread,
Mar 30, 2013, 11:35:03 AM3/30/13
to astro...@googlegroups.com
Hi All,
 
I apparently succeeded to generate wcs2kml (including remarks on site) with gflags 2.0
 
 
but I experienced difficulties using it with solve-field and alone with generated files
 
With solve-field
[... apod5 in named in.jpg]
Your field contains:
  Part of the constellation Draco (Dra)
  Part of the constellation Ursa Major (UMa)
Writing kmz file...
Reading image /tmp/tmp.png.61hPyt...
Input image is size 719 x 507
Reading FITS file temp/in.wcs...
Can't open FITS file 'temp/in.wcs'
solve-field.c:622:after_solved Failed to write KMZ.
 solve-field.c:224:write_kmz wcs2kml failed
 ioutils.c:669:run_command_get_outputs Command failed: return value 1
 
wcs2kml alone
jean-paul@Virt-Ubuntu:~/astrometry/temp$ wcs2kml -imagefile=in-ngc.png -fitsfile=in.wcs
Reading image in-ngc.png...
Input image is size 719 x 507
Reading FITS file in.wcs...
*** buffer overflow detected ***: wcs2kml terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f74a26f1807]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7f74a26f0700]
/usr/local/lib/libwcs2kml.so.0(wcstype+0x162)[0x7f74a3111672]
/usr/local/lib/libwcs2kml.so.0(wcsinitc+0xdd8)[0x7f74a310f528]
/usr/local/lib/libwcs2kml.so.0(wcsninit+0x1f)[0x7f74a311121f]
/usr/local/lib/libwcs2kml.so.0(_ZN10google_sky13WcsProjectionC2ERKSsii+0x106)[0x7f74a30f0816]
wcs2kml[0x40208f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f74a260876d]
wcs2kml[0x401c91]
 
Any Hint?

Dustin Lang

unread,
Mar 31, 2013, 9:00:26 PM3/31/13
to astro...@googlegroups.com
Hmm, I also get that buffer overflow error.

Aha, try "solve-field --no-tweak"

It seems that the TAN-SIP WCS solution we produce by default confuses wcs2kml.  Argh.

--dstn

Reply all
Reply to author
Forward
0 new messages