[FWTools] FWTools Digest, Vol 52, Issue 6

Lim Chee Kiang lcheekia at dso.org.sg
Thu Feb 19 09:30:04 EST 2009


Hi Frank,

I extracted coordinates of features from a s57 file using the dumpReadable function with default settings. However i am not able to figure out how the coordinates (latitude and longitude) are ordered and whether they are oriented clockwise or anticlockwise. Can you shed some light on that? Do linestrings have the same order?

I need to know the order and orientation to use some triangulate functions to decompose the polygons to primitives.

I noticed sounding features are all multipoints. Am i right to say that the third value for each triplet are simply depths?

Thank you

Regards
ck


-----Original Message-----
From: fwtools-bounces at lists.maptools.org on behalf of fwtools-request at lists.maptools.org
Sent: Thu 2/19/2009 1:00 AM
To: fwtools at lists.maptools.org
Subject: FWTools Digest, Vol 52, Issue 6
 
Send FWTools mailing list submissions to
	fwtools at lists.maptools.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.maptools.org/mailman/listinfo/fwtools
or, via email, send a message with subject or body 'help' to
	fwtools-request at lists.maptools.org

You can reach the person managing the list at
	fwtools-owner at lists.maptools.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FWTools digest..."


Today's Topics:

   1. Re: fwtools for Windows x64 (Frank Warmerdam)
   2. Re: fwtools for Windows x64 (Martin Kofahl)
   3. Re: gdal_merge color and res issue (james2009)
   4.  gdal_translate and gdalwarp (james2009)
   5. Re: gdal_translate and gdalwarp (Matt Wilkie)
   6. Re: fwtools for Windows x64 (Tamas Szekeres)


----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Feb 2009 12:55:54 -0500
From: Frank Warmerdam <warmerdam at pobox.com>
Subject: Re: [FWTools] fwtools for Windows x64
To: Martin Kofahl <M.Kofahl at gmx.net>
Cc: fwtools at lists.maptools.org
Message-ID: <499AFA2A.9030806 at pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Martin Kofahl wrote:
> Hi,
> is there a build of fwtools for Windows 64bit?

Martin,

No.

But it was my understanding that the Win32 binaries work ok on win64
systems.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



------------------------------

Message: 2
Date: Tue, 17 Feb 2009 20:40:44 +0100
From: Martin Kofahl <m.kofahl at gmx.net>
Subject: Re: [FWTools] fwtools for Windows x64
To: fwtools at lists.maptools.org
Message-ID: <499B12BC.5010607 at gmx.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Frank,
win32 binaries will work ob win64, of course. I hoped to have some more 
performance with win64 binaries. Already tried to build gdal for win64 
today, but failed. I'll try again...

Martin


Frank Warmerdam wrote:
> Martin Kofahl wrote:
>> Hi,
>> is there a build of fwtools for Windows 64bit?
> 
> Martin,
> 
> No.
> 
> But it was my understanding that the Win32 binaries work ok on win64
> systems.
> 
> Best regards,


------------------------------

Message: 3
Date: Tue, 17 Feb 2009 11:43:27 -0800 (PST)
From: james2009 <gkenny_2000 at yahoo.com>
Subject: Re: [FWTools] gdal_merge color and res issue
To: fwtools at lists.maptools.org
Message-ID: <22064795.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


My image is (shown in image info from OpenEV):
USA:
1024*768*1 Bands GeoTiff
World:
582*309*1 Bands GeoTiff.


I try different -ps option but it doesn't make any different in result.
Maybe is a problem of color table to generate this two tiff image? 
I generate the two image use gdal_translate -a_ullr option on gif to tif
format. An I doing wrong? Or is that a way I need to set for these two image
using same color table (using gdal_translate?)

Thanks

Tom


Travis Kirstine wrote:
> 
> Are both your images single band with a color table?  Gdal_merge
> assumes that all images have the same colour table if single band (I
> think).  You may have to convert the images to RGB (pct2rgb.py) before
> the merge.  Gdal also uses the last images resolution for the output
> (world geotiff).  You can set the resolution with the -ps parameter.
> You may want to try gdalwarp to do the merge instead and make use of
> the different types of resampling
> 
> gdalwarp -tr 100 100 -r cubic input1.tif input2.tif output.tif
> 
> Regards
> 
> 2009/2/12 james2009 <gkenny_2000 at yahoo.com>:
>>
>> Hi all,
>>
>> I am trying to merge two Geotiff into one. They are a world and US
>> Geotiff

>> images. It looks fine on layer overlap in OpenEV tool (us show in right
>> area
>> in world background and in color). But when I try to merge them into one
>> using gdal_merge.py (FWTools 206 Linux), it become BW and lose lot of
>> res.
>> Would you please help me out with this issue?
>>
>> I am looking for a way to automate this process.
>>
>> Thanks for the help.
>>
>> Tom
>> --
>> View this message in context:
>> http://www.nabble.com/gdal_merge-color-and-res-issue-tp21956550p21956550.html
>> Sent from the FWTools mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> FWTools mailing list
>> FWTools at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/fwtools
>> http://fwtools.maptools.org/
>>
> 
> 
> 
> -- 
> Travis K.
> 
> Toronto, Canada
> ------------------------------------------------------------
> "She knows there's no success like failure
> And that failure's no success at all."
> -Bob Dylan-
> ------------------------------------------------------------
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/gdal_merge-color-and-res-issue-tp21956550p22064795.html
Sent from the FWTools mailing list archive at Nabble.com.



------------------------------

Message: 4
Date: Tue, 17 Feb 2009 14:11:10 -0800 (PST)
From: james2009 <gkenny_2000 at yahoo.com>
Subject: [FWTools]  gdal_translate and gdalwarp
To: fwtools at lists.maptools.org
Message-ID: <22067476.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Hi all,

I would like to use gdal_translate or gdalwarp to convert a 8 bit color gif
image to color jpeg image without color table. I try gdal_translate -of JPEG
a.gif b.jpg but get BW output. 

What is the correct syntax for this?

Thanks

Tom
-- 
View this message in context: http://www.nabble.com/gdal_translate-and-gdalwarp-tp22067476p22067476.html
Sent from the FWTools mailing list archive at Nabble.com.



------------------------------

Message: 5
Date: Tue, 17 Feb 2009 15:03:25 -0800
From: Matt Wilkie <matt.wilkie at gov.yk.ca>
Subject: Re: [FWTools] gdal_translate and gdalwarp
To: james2009 <gkenny_2000 at yahoo.com>
Cc: fwtools at lists.maptools.org
Message-ID: <499B423D.1070605 at gov.yk.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Tom,

Try using pct2rgb instead, http://www.gdal.org/pct2rgb.html

cheers,


matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------


james2009 wrote:
> Hi all,
> 
> I would like to use gdal_translate or gdalwarp to convert a 8 bit color gif
> image to color jpeg image without color table. I try gdal_translate -of JPEG
> a.gif b.jpg but get BW output. 
> 
> What is the correct syntax for this?
> 
> Thanks
> 
> Tom


------------------------------

Message: 6
Date: Wed, 18 Feb 2009 00:13:39 +0100
From: Tamas Szekeres <szekerest at gmail.com>
Subject: Re: [FWTools] fwtools for Windows x64
To: Martin Kofahl <m.kofahl at gmx.net>
Cc: fwtools at lists.maptools.org
Message-ID:
	<f3b73b7d0902171513k2a69e04am11d64f54eda80fe2 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Martin,

Here you can find my latest build based on gdal-1-6 and the mapserver-dev
compiled by VS2005 for x64;

http://vbkto.dyndns.org:1280/tests/release-1400-x64-gdal-1-6-mapserver.zip

Let me know if you have further issues.

Best regards,

Tamas




2009/2/17 Martin Kofahl <m.kofahl at gmx.net>

> Hi Frank,
> win32 binaries will work ob win64, of course. I hoped to have some more
> performance with win64 binaries. Already tried to build gdal for win64
> today, but failed. I'll try again...
>
> Martin
>
>
> Frank Warmerdam wrote:
> > Martin Kofahl wrote:
> >> Hi,
> >> is there a build of fwtools for Windows 64bit?
> >
> > Martin,
> >
> > No.
> >
> > But it was my understanding that the Win32 binaries work ok on win64
> > systems.
> >
> > Best regards,
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20090218/b00e3c52/attachment.html 

------------------------------

_______________________________________________
FWTools mailing list
FWTools at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/fwtools


End of FWTools Digest, Vol 52, Issue 6
**************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7088 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/fwtools/attachments/20090219/1e58aa8b/attachment-0001.bin 


More information about the FWTools mailing list