Re: [gdal-dev] Re: lost GeoTiff file metadata with gdalwarp

2012-03-05 Thread Etienne Tourigny
I have created a patch to copy dataset and band-level metadata, following the ideas in this thread. Set ticket http://trac.osgeo.org/gdal/ticket/3898 - Any comments welcome. I have not implemented Chaitanya's suggestion to scan for all sources though. Etienne On Thu, Nov 10, 2011 at 3:26 PM, Ch

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Doug_Newcomb
Looks good! Thanks for the link! Doug Doug Newcomb USFWS Raleigh, NC 919-856-4520 ext. 14 doug_newc...@fws.gov - The opinions I express are my own and are not representative of the official

[gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > There's no support for generating PDF layers in the GDAL or MapServer > drivers. > Could be perhaps be done in GDAL, but it is not obvious which GDAL concept > would map to a PDF layer. As far as MapServer Cairo/PDF driver is concerned, > this is no

Re: [gdal-dev] libkml GroundOverlay support

2012-03-05 Thread Even Rouault
Le lundi 05 mars 2012 16:01:22, Clarke, Trevor a écrit : > I am in need of support for GroundOverlay loading from KML and I've been > prototyping some ideas. The biggest issue is that GroundOverlays are > conceptually raster data in a primarily vector format so it's unclear > how OGR/GDAL should ha

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Even Rouault
Le lundi 05 mars 2012 19:11:57, doug_newc...@fws.gov a écrit : > >Hi, > > > >I did mean that with "contains vector graphics" and "zoom in and enjoy". > > > >-Jukka- > > Does that also mean extract vector layers from a geopdf and save out as > shapefile ? 1) PDF that make available attribute infor

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Even Rouault
Le lundi 05 mars 2012 15:59:57, Jukka Rahkonen a écrit : > Brent Fraser geoanalytic.com> writes: > > If you're looking for a geospatial pdf with layers, the Canadian > > government publishes some of their topographic maps as pdf. Here's > > a > > > link to one: > > > > ftp://ftp2.cits.rncan.gc

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Doug_Newcomb
>Hi, >I did mean that with "contains vector graphics" and "zoom in and enjoy". >-Jukka- Does that also mean extract vector layers from a geopdf and save out as shapefile ? For those of us trying to translate government-distributed data into something useable Doug Doug Newcomb USFWS

[gdal-dev] Ticket 3786

2012-03-05 Thread Sjur Kolberg
Hello, Has anyone looked into ticket 3786 concerning the Idrisi driver? The driver rejects the flag value (and inserts a hard-coded - instead) unless the flag value is followed by a flag definition. IMHO, this is not necessary, it would be better to accept the flag value if it is numeric,

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
I need more coffee. Thanks! Best Regards, Brent Fraser On 3/5/2012 8:22 AM, Rahkonen Jukka wrote: Hi, I did mean that with "contains vector graphics" and "zoom in and enjoy". -Jukka- Brent Fraser wrote: Cool. Now if we could get it writing vectors... Best Regards, Brent Fraser On 3/5/

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Rahkonen Jukka
Hi, I did mean that with "contains vector graphics" and "zoom in and enjoy". -Jukka- Brent Fraser wrote: > > Cool. Now if we could get it writing vectors... > > Best Regards, > Brent Fraser > > > On 3/5/2012 8:10 AM, Jukka Rahkonen wrote: > > Brent Fraser geoanalytic.com> writes: > > > >>

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
Cool. Now if we could get it writing vectors... Best Regards, Brent Fraser On 3/5/2012 8:10 AM, Jukka Rahkonen wrote: Brent Fraser geoanalytic.com> writes: I thought the PDF driver was read-only. Does the changeset include the creation of a geospatial pdf? Read thread "Trouble with geor

[gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Jukka Rahkonen
Brent Fraser geoanalytic.com> writes: > > I thought the PDF driver was read-only. Does the changeset include the > creation of a geospatial pdf? Read thread "Trouble with georeferenced PDF" from couple of days ago. Here is also a new sample which is created with Mapserver from trunk and it co

[gdal-dev] libkml GroundOverlay support

2012-03-05 Thread Clarke, Trevor
I am in need of support for GroundOverlay loading from KML and I've been prototyping some ideas. The biggest issue is that GroundOverlays are conceptually raster data in a primarily vector format so it's unclear how OGR/GDAL should handle this. It's useful to have relational information and boundin

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
I thought the PDF driver was read-only. Does the changeset include the creation of a geospatial pdf? Best Regards, Brent Fraser On 3/5/2012 7:59 AM, Jukka Rahkonen wrote: Brent Fraser geoanalytic.com> writes: If you're looking for a geospatial pdf with layers, the Canadian government pub

[gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Jukka Rahkonen
Brent Fraser geoanalytic.com> writes: > > If you're looking for a geospatial pdf with layers, the Canadian > government publishes some of their topographic maps as pdf. Here's a > link to one: > > ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/085/ b/cantopo_085b14_geopdf.zip Thanks for

Re: [gdal-dev] PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
If you're looking for a geospatial pdf with layers, the Canadian government publishes some of their topographic maps as pdf. Here's a link to one: ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/085/b/cantopo_085b14_geopdf.zip Best Regards, Brent Fraser On 3/5/2012 1:29 AM, Jukka Rahkone

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-03-05 Thread Chaitanya kumar CH
At this point I could only advice you to refer to MySQL documentation. http://dev.mysql.com/doc/ http://dev.mysql.com/doc/refman/5.0/en/string-functions.html On Mon, Mar 5, 2012 at 7:00 PM, Murat Beyhan wrote: > Chaitanya, > I could not succeeded What I have tried. > the problem is I'm not good

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-03-05 Thread Murat Beyhan
Chaitanya, I could not succeeded What I have tried. the problem is I'm not good at mysql. I think I could not do this job. I'm really upset. Are there a different way or easy way to draw line using mysql table data.. Regards On Mon, 2012-03-05 at 10:44 +0200, Murat Beyhan wrote: > Chaitanya, > >

[gdal-dev] Convert RGBA geotiff to color table

2012-03-05 Thread Oliver Eichler
Hi, this question was discussed around 2004 but with no real result. That's why I would like to raise it again. (http://lists.osgeo.org/pipermail/gdal-dev/2004-September/004203.html) I have several scanned paper maps (RGB). As there is a lot of side information at the borders, which is bad if

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-03-05 Thread Murat Beyhan
Chaitanya, I was forget to convert lat lon to string as you said before than I was use BINARY to convert it but I could not converted ı think because still same problem continuing. as follows CREATE OR REPLACE ALGORITHM = UNDEFINED VIEW `lineview3` ( eq_id, geom ) AS SELECT eq_id, BINARY CO

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-03-05 Thread Chaitanya kumar CH
Murat, Perhaps you can use the CAST operator to convert the data type to varchar. On Monday, March 5, 2012, Murat Beyhan wrote: > Chaitanya, > > Thanks for your help, I try to use concat to create view from database > which is storing start and end of the point of the line > as follows. > > > cr

[gdal-dev] PDF selective layer sample wanted

2012-03-05 Thread Jukka Rahkonen
Hi, This changeset looks interesting http://trac.osgeo.org/gdal/changeset/24069 Is there any such PDF sample file available? -Jukka Rahkonen- ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-03-05 Thread Murat Beyhan
Chaitanya, Thanks for your help, I try to use concat to create view from database which is storing start and end of the point of the line as follows. create view lineview6 as select eq_id, CONCAT('LINESTRING(',lon1,'',lat1,',',lon2,'',lat2,')') as geom from sfault but at the previous problem