Re: Fwd: [gdal-dev] kml superoverlay help request
Brian Basicly you need to build a vrt out of every image in the level of intrest, in this case they seem to be the 7th level. attatched is a script to do so. Brian On Mon, 2011-04-04 at 18:09 -0700, Brian Wilson wrote: Darn -- meant this to go to the list not just to Harsh -- Forwarded message -- From: Brian Wilson br...@wildsong.biz Date: Mon, Apr 4, 2011 at 11:10 AM Subject: Re: [gdal-dev] kml superoverlay help request To: Harsh Govind govind.ha...@geoeye.com Okay, so I cannot read KMZ w/gdal. I am using version 1.8 running on Ubuntu. Mostly I wanted to confirm that. I hate duplicating other people's work just because I am too dense to understand docs. :-) I never looked at a KMLSUPEROVERLAY before yesterday so I don't know how much variation there is in one. (Though there is XML involved so there could be LOTS of variation... :-) I started to describe the files in this message and decided a URL is easier. http://hupi.org/map/vietnam/50k/ For example, nc4806-50/ is the unzipped version of nc4806-50.zip (FYI this project is for the Vietnam Helicopter Pilot Association vhpa.org and the rasters are scans of Vietnam war era paper maps.) Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev super.bash Description: application/shellscript ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] kml superoverlay help request
Brian IIRC the superoverlay driver is read only. Reading images from knls are problematic at best. Can you give me some info on the stucture of the kmz's? Brian On Sun, 2011-04-03 at 22:43 -0700, Brian Wilson wrote: I received a batch of files that are in a kml format that looks like the KML SUPEROVERLAY that gdal supports. There is a kmz flle which when unzipped contains a batch of JPEGs and a file called doc.kml that describes them. My gdalinfo --formats command says KMLSUPEROVERLAY (rwv): Kml Super Overlay but I don't know how to feed it the files. I tried the KMZ, the unpacked directory, and the doc file ERROR 4: `nc4806-50.kmz' not recognised as a supported file format. ERROR 4: `nc4806-50' not recognised as a supported file format. ERROR 4: `nc4806-50/doc.kml' not recognised as a supported file format. Or maybe I am wrong about what a kml super overlay is? My google searches only turned up help with writing the kml files, but I am assuming the formats rwv means it can read, write, and also do something else starting with the letter 'v' -- always wondered about those codes like rw+ maybe the + means update or append?? (And rov means remotely operated vehicle? oops context shift sorry) Thanks in advance Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] kml superoverlay help request
Brian, I had responded earlier but for some reason my email was rejected by list maybe because my official ID changed. In any case below is my response. What version of gdal is this? KMLSUPEROVERLAY driver creates a hierarchy of regions that can be used to efficiently serve large set of imagery. As few points near higher resolution tiles are loaded. KMLSUPEROVERLAY driver generates kmz with this command: Gdal_translate.exe -of KMLSUPEROVERLAY c:\my.tif c:\myResult.kmz -co FORMAT=PNG I have not implemented read for KMLSUPEROVERLAY. Ogrinfo should be able to read kml but not gdal. Let me know if you have more questions. v gets appended for formats supporting virtual IO. Harsh Govind -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of brian Sent: Monday, April 04, 2011 12:23 PM To: Brian Wilson Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] kml superoverlay help request Brian IIRC the superoverlay driver is read only. Reading images from knls are problematic at best. Can you give me some info on the stucture of the kmz's? Brian On Sun, 2011-04-03 at 22:43 -0700, Brian Wilson wrote: I received a batch of files that are in a kml format that looks like the KML SUPEROVERLAY that gdal supports. There is a kmz flle which when unzipped contains a batch of JPEGs and a file called doc.kml that describes them. My gdalinfo --formats command says KMLSUPEROVERLAY (rwv): Kml Super Overlay but I don't know how to feed it the files. I tried the KMZ, the unpacked directory, and the doc file ERROR 4: `nc4806-50.kmz' not recognised as a supported file format. ERROR 4: `nc4806-50' not recognised as a supported file format. ERROR 4: `nc4806-50/doc.kml' not recognised as a supported file format. Or maybe I am wrong about what a kml super overlay is? My google searches only turned up help with writing the kml files, but I am assuming the formats rwv means it can read, write, and also do something else starting with the letter 'v' -- always wondered about those codes like rw+ maybe the + means update or append?? (And rov means remotely operated vehicle? oops context shift sorry) Thanks in advance Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] kml superoverlay help request
Harsh, Depending on how its layed out, I have a way to read these. Brian On Mon, 2011-04-04 at 12:51 -0400, Harsh Govind wrote: Brian, I had responded earlier but for some reason my email was rejected by list maybe because my official ID changed. In any case below is my response. What version of gdal is this? KMLSUPEROVERLAY driver creates a hierarchy of regions that can be used to efficiently serve large set of imagery. As few points near higher resolution tiles are loaded. KMLSUPEROVERLAY driver generates kmz with this command: Gdal_translate.exe -of KMLSUPEROVERLAY c:\my.tif c:\myResult.kmz -co FORMAT=PNG I have not implemented read for KMLSUPEROVERLAY. Ogrinfo should be able to read kml but not gdal. Let me know if you have more questions. v gets appended for formats supporting virtual IO. Harsh Govind -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of brian Sent: Monday, April 04, 2011 12:23 PM To: Brian Wilson Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] kml superoverlay help request Brian IIRC the superoverlay driver is read only. Reading images from knls are problematic at best. Can you give me some info on the stucture of the kmz's? Brian On Sun, 2011-04-03 at 22:43 -0700, Brian Wilson wrote: I received a batch of files that are in a kml format that looks like the KML SUPEROVERLAY that gdal supports. There is a kmz flle which when unzipped contains a batch of JPEGs and a file called doc.kml that describes them. My gdalinfo --formats command says KMLSUPEROVERLAY (rwv): Kml Super Overlay but I don't know how to feed it the files. I tried the KMZ, the unpacked directory, and the doc file ERROR 4: `nc4806-50.kmz' not recognised as a supported file format. ERROR 4: `nc4806-50' not recognised as a supported file format. ERROR 4: `nc4806-50/doc.kml' not recognised as a supported file format. Or maybe I am wrong about what a kml super overlay is? My google searches only turned up help with writing the kml files, but I am assuming the formats rwv means it can read, write, and also do something else starting with the letter 'v' -- always wondered about those codes like rw+ maybe the + means update or append?? (And rov means remotely operated vehicle? oops context shift sorry) Thanks in advance Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] kml superoverlay help request
Yes, definitely. I meant to say that using KLSUPEROVERLAY driver you cannot read kmz. Thanks for pointing that out. Harsh Govind -Original Message- From: brian [mailto:r...@winkey.org] Sent: Monday, April 04, 2011 12:57 PM To: Harsh Govind Cc: Brian Wilson; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] kml superoverlay help request Harsh, Depending on how its layed out, I have a way to read these. Brian On Mon, 2011-04-04 at 12:51 -0400, Harsh Govind wrote: Brian, I had responded earlier but for some reason my email was rejected by list maybe because my official ID changed. In any case below is my response. What version of gdal is this? KMLSUPEROVERLAY driver creates a hierarchy of regions that can be used to efficiently serve large set of imagery. As few points near higher resolution tiles are loaded. KMLSUPEROVERLAY driver generates kmz with this command: Gdal_translate.exe -of KMLSUPEROVERLAY c:\my.tif c:\myResult.kmz -co FORMAT=PNG I have not implemented read for KMLSUPEROVERLAY. Ogrinfo should be able to read kml but not gdal. Let me know if you have more questions. v gets appended for formats supporting virtual IO. Harsh Govind -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of brian Sent: Monday, April 04, 2011 12:23 PM To: Brian Wilson Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] kml superoverlay help request Brian IIRC the superoverlay driver is read only. Reading images from knls are problematic at best. Can you give me some info on the stucture of the kmz's? Brian On Sun, 2011-04-03 at 22:43 -0700, Brian Wilson wrote: I received a batch of files that are in a kml format that looks like the KML SUPEROVERLAY that gdal supports. There is a kmz flle which when unzipped contains a batch of JPEGs and a file called doc.kml that describes them. My gdalinfo --formats command says KMLSUPEROVERLAY (rwv): Kml Super Overlay but I don't know how to feed it the files. I tried the KMZ, the unpacked directory, and the doc file ERROR 4: `nc4806-50.kmz' not recognised as a supported file format. ERROR 4: `nc4806-50' not recognised as a supported file format. ERROR 4: `nc4806-50/doc.kml' not recognised as a supported file format. Or maybe I am wrong about what a kml super overlay is? My google searches only turned up help with writing the kml files, but I am assuming the formats rwv means it can read, write, and also do something else starting with the letter 'v' -- always wondered about those codes like rw+ maybe the + means update or append?? (And rov means remotely operated vehicle? oops context shift sorry) Thanks in advance Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Fwd: [gdal-dev] kml superoverlay help request
Darn -- meant this to go to the list not just to Harsh -- Forwarded message -- From: Brian Wilson br...@wildsong.biz Date: Mon, Apr 4, 2011 at 11:10 AM Subject: Re: [gdal-dev] kml superoverlay help request To: Harsh Govind govind.ha...@geoeye.com Okay, so I cannot read KMZ w/gdal. I am using version 1.8 running on Ubuntu. Mostly I wanted to confirm that. I hate duplicating other people's work just because I am too dense to understand docs. :-) I never looked at a KMLSUPEROVERLAY before yesterday so I don't know how much variation there is in one. (Though there is XML involved so there could be LOTS of variation... :-) I started to describe the files in this message and decided a URL is easier. http://hupi.org/map/vietnam/50k/ For example, nc4806-50/ http://hupi.org/map/vietnam/50k/nc4806-50/ is the unzipped version of nc4806-50.ziphttp://hupi.org/map/vietnam/50k/nc4806-50.zip (FYI this project is for the Vietnam Helicopter Pilot Association vhpa.organd the rasters are scans of Vietnam war era paper maps.) Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] kml superoverlay help request
I received a batch of files that are in a kml format that looks like the KML SUPEROVERLAY that gdal supports. There is a kmz flle which when unzipped contains a batch of JPEGs and a file called doc.kml that describes them. My gdalinfo --formats command says KMLSUPEROVERLAY (rwv): Kml Super Overlay but I don't know how to feed it the files. I tried the KMZ, the unpacked directory, and the doc file ERROR 4: `nc4806-50.kmz' not recognised as a supported file format. ERROR 4: `nc4806-50' not recognised as a supported file format. ERROR 4: `nc4806-50/doc.kml' not recognised as a supported file format. Or maybe I am wrong about what a kml super overlay is? My google searches only turned up help with writing the kml files, but I am assuming the formats rwv means it can read, write, and also do something else starting with the letter 'v' -- always wondered about those codes like rw+ maybe the + means update or append?? (And rov means remotely operated vehicle? oops context shift sorry) Thanks in advance Brian Wilson Corvallis OR ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev