Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-15 Thread Randal Hale
I appreciate it - yeah I have several xmls I have created here for pulling in REST services from ArcGISOnline and other spots. I modified one and was able to grab what I needed - I just can't figure out why it's bombing. That's why I tried it two different platforms and got the same result. It

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-14 Thread Eric Goddard
Hi Randal, I'm not really sure why gdal isn't creating the xml file. It looks like it is gdal, since using the iface.AddRasterLayer() method produces the same error message as using gdal_translate from the command line. As a work around while that issue is being sorted out, if you download the

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-13 Thread Lauri Kajan
Hi Randy, You are requesting json format from arcgisonline. That is a vector format and you are trying to use it as a raster image. Secondly you are trying to translate that into WMS with gdal_translate. Gdal supports WMS-reading only, not creation ( http://gdal.org/formats_list.html). I

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-13 Thread Randal Hale
Do gdal service description files no longer work? I was hoping for an XML output. From: http://hub.qgis.org/wiki/17/Arcgis_rest: 1. In the QGIS Python console, run this:

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-13 Thread Alex Mandel
I wouldn't get on his case too hard he's following: http://hub.qgis.org/wiki/quantum-gis/Arcgis_rest There's probably some clues in: http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/The_ArcGIS_REST_API/02r3005400/ I think other workarounds could be to pull the layers in

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-13 Thread Alex Mandel
Randy, So it was working at some point? Is it possible the service has changed? Thanks, Alex On 03/13/2014 11:21 AM, Randal Hale wrote: No worries at all! I just need to figure out why it stopped working. Randy - Randal Hale, GISP North River Geographic Systems, Inc

Re: [Qgis-developer] Problem with GDAL_translate. REST Services, QGIS

2014-03-13 Thread Randal Hale
Oh yeah - it was completely working. I haven't tried it since the upgrade to 2.2 on Ubuntu. That's why I ran through all the variations: windows/linux/etc to make sure it wasn't one thing vs something else. It seems ultimately to be a gdal thing since it failed on linux and windows. Linux was