[mapserver-users] kml superoverlays

Páll Péter Hunor pphunor at itineris.hu
Fri Jan 15 05:47:33 PST 2016


Hi,

Thank you for this short discussion, now I think there is light at the 
end of the tunnel.
I tried solve my problem with MapServer 6.4.1 and GDAL 1.9, but that 
gdal version has write-only support for kml superoverlays.
First step is to change GDAL version in my project...

Hunor

On 2016.01.15. 0:28, Jeff McKenna wrote:
> On 2016-01-14 6:55 PM, Even Rouault wrote:
>>
>> Hum I didn't try with MapServer, but looking at the GDAL request it 
>> does in the logs, I tried
>> something close with gdal_translate:
>>
>> gdal_translate 
>> /vsicurl/http://mw1.google.com/mw-earth-vectordb/kml-samples/mv-doqq.kml 
>> out2.tif -outsize 312 300
>>
>> and the good or bad news is that fails on both Ubuntu and Windows 
>> (well at least on wine/Linux) with
>> a similar error to yours:
>>
>> VSICURL: Start download for 
>> http://mw1.google.com/mw-earth-vectordb/kml-samples/mv-070501/422.kml
>> VSICURL: Stop download for 
>> http://mw1.google.com/mw-earth-vectordb/kml-samples/mv-070501/422.kml
>> VSICURL: Start download for 
>> http://mw1.google.com/mw-earth-vectordb/kml-samples/mv-070501/422.JPEG
>> VSICURL: Stop download for 
>> http://mw1.google.com/mw-earth-vectordb/kml-samples/mv-070501/422.JPEG
>> GDAL: GDALOpen(/vsimem/kmlsuperoverlay/6_0x1d0f878, this=0x1d12bd0) 
>> succeeds as JPEG.
>> GDAL: GDALDefaultOverviews::OverviewScan()
>> GDAL: GDALDefaultOverviews::OverviewScan()
>> ERROR 5: /vsimem/kmlsuperoverlay/3_0x1cf4ce8, band 1: Illegal 
>> nBlockXOff value (2) in GDALRasterBand::TryGetLockedBlockRef()
>>
>> ERROR 5: /vsimem/kmlsuperoverlay/3_0x1cf4ce8, band 1: Illegal 
>> nBlockXOff value (2) in GDALRasterBand::GetLockedBlockRef()
>>
>>
>> Not sure why you get different results.
>>
>> Mind opening a GDAL ticket about that ? I'm debugging something else 
>> tricky right now ;-)
>>
>
> GDAL ticket: https://trac.osgeo.org/gdal/ticket/6311
>
> -jeff
>
>
>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the mapserver-users mailing list