<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">No worries at all! <br>
<br>
I just need to figure out why it stopped working. <br>
<br>
Randy<br>
<pre class="moz-signature" cols="72">-----------------
Randal Hale, GISP
North River Geographic Systems, Inc
<a class="moz-txt-link-freetext" href="http://www.northrivergeographic.com">http://www.northrivergeographic.com</a>
423.653.3611 <a class="moz-txt-link-abbreviated" href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a>
twitter:rjhale
<a class="moz-txt-link-freetext" href="http://about.me/rjhale">http://about.me/rjhale</a></pre>
On 03/13/2014 01:55 PM, Lauri Kajan wrote:<br>
</div>
<blockquote
cite="mid:CAKWoFMJyriyQ6SNNQvMsBiXS2Ynm1T=_=bcs+gxLKJZFv4-xxw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Randy,
<div><br>
</div>
<div>I'm really sorry and little embarrassed for my previous
post.</div>
<div>You sure noticed that I don't have much knowledge in arcgis
rest services and especially in using those with gdal.</div>
<div><br>
</div>
<div>In this case that json isn't a vector data. It is actually
a description of a raster service and therefore should be
accetable for gdal. This was totally my mistake.</div>
<div><br>
</div>
<div><br>
</div>
<div>-Lauri</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Mar 13, 2014 at 7:28 PM, Alex
Mandel <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I wouldn't
get on his case too hard he's following:<br>
<a moz-do-not-send="true"
href="http://hub.qgis.org/wiki/quantum-gis/Arcgis_rest"
target="_blank">http://hub.qgis.org/wiki/quantum-gis/Arcgis_rest</a><br>
<br>
There's probably some clues in:<br>
<a moz-do-not-send="true"
href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/The_ArcGIS_REST_API/02r300000054000000/"
target="_blank">http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/The_ArcGIS_REST_API/02r300000054000000/</a><br>
<br>
I think other workarounds could be to pull the layers in the
OpenLayers<br>
plugin.<br>
<br>
Thanks,<br>
Alex<br>
<div class="HOEnZb">
<div class="h5"><br>
On 03/13/2014 09:50 AM, Lauri Kajan wrote:<br>
> Hi Randy,<br>
><br>
> You are requesting json format from arcgisonline.
That is a vector format<br>
> and you are trying to use it as a raster image.<br>
> Secondly you are trying to translate that into WMS
with gdal_translate.<br>
> Gdal supports WMS-reading only, not creation (<br>
> <a moz-do-not-send="true"
href="http://gdal.org/formats_list.html"
target="_blank">http://gdal.org/formats_list.html</a>).<br>
><br>
> I recommend for you some introduction to GIS and
raster and vector formats.<br>
> <a moz-do-not-send="true"
href="http://www.qgis.org/en/docs/gentle_gis_introduction/index.html"
target="_blank">http://www.qgis.org/en/docs/gentle_gis_introduction/index.html</a><br>
><br>
><br>
> Regards,<br>
><br>
> Lauri<br>
><br>
><br>
><br>
><br>
> On Thu, Mar 13, 2014 at 4:51 PM, Randal Hale <<br>
> <a moz-do-not-send="true"
href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a>>
wrote:<br>
><br>
>> So I figured I would start here and work my way
out...or up. Sorry for the<br>
>> cross posting. I'm hitting a little bit of
everything on this one. Same<br>
>> action - different results (sorta). This is all
of my attempts at adding a<br>
>> REST Service from ArcGISOnline to QGIS (using
GDAL in some cases).<br>
>><br>
>> On Ubuntu 12.04 LTS gdal 1.10<br>
>> This command: gdal_translate "<a
moz-do-not-send="true"
href="http://server.arcgisonline" target="_blank">http://server.arcgisonline</a>.<br>
>>
com/ArcGIS/rest/services/USA_Topo_Maps/MapServer?f=json&pretty=true"<br>
>> ESRITopographicLayer.xml -of WMS<br>
>> Gives me a segmentation fault<br>
>><br>
>> On windows 7 OSGEO4w 32 bit installer gdal
1.10.1<br>
>> This command: gdal_translate "<a
moz-do-not-send="true"
href="http://server.arcgisonline" target="_blank">http://server.arcgisonline</a>.<br>
>>
com/ArcGIS/rest/services/USA_Topo_Maps/MapServer?f=json&pretty=true"<br>
>> ESRITopographicLayer.xml -of WMS<br>
>> Gives me:<br>
>> ERROR 4: `/vsimem/http_1/file.dat' not
recognised as a supported file<br>
>> format.<br>
>> ERROR 4: `/tmp/file.dat' not recognised as a
supported file format.<br>
>> GDALOpen failed - 4<br>
>><br>
>> In QGIS 2.2 On windows (OSGEo4W installer)
python console:<br>
>> qgis.utils.iface.addRasterLayer("<a
moz-do-not-send="true" href="http://server"
target="_blank">http://server</a>.<br>
>> <a moz-do-not-send="true"
href="http://arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/"
target="_blank">arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/</a><br>
>> MapServer?f=json&pretty=true","raster")<br>
>> Gives me an error saying /tmp/file.dat is not a
recognized format.<br>
>><br>
>> On Ubuntu 12.04 QGIS 2.2 Python Console<br>
>> qgis.utils.iface.addRasterLayer("<a
moz-do-not-send="true" href="http://server"
target="_blank">http://server</a>.<br>
>> <a moz-do-not-send="true"
href="http://arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/"
target="_blank">arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/</a><br>
>> MapServer?f=json&pretty=true","raster")<br>
>> Crashes QGIS.<br>
>><br>
>> Once again my apologies for cross posting. I
*think* it's all related. I<br>
>> think.<br>
>><br>
>> Randy<br>
>><br>
>> --<br>
>> -----------------<br>
>> Randal Hale, GISP<br>
>> North River Geographic Systems, Inc<br>
>> <a moz-do-not-send="true"
href="http://www.northrivergeographic.com"
target="_blank">http://www.northrivergeographic.com</a><br>
>> <a moz-do-not-send="true"
href="tel:423.653.3611" value="+14236533611">423.653.3611</a>
<a moz-do-not-send="true"
href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a><br>
>> twitter:rjhale<br>
>> <a moz-do-not-send="true"
href="http://about.me/rjhale" target="_blank">http://about.me/rjhale</a><br>
>><br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>