<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.Shkpostityyli19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="#0563C1" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I found couple of issues but can’t say how severe they are:<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><a href="http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson">http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">this returns HTTP 302, moved temporarily and it redirects to https port<br>
https://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Trying to access the https port gives an error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">curl: (7) Failed to connect to opendata.arcgis.com port 443: Connection refused<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Perhaps that arcgis site requires something like cookies or a certain user-agent before it is willing to send data. I checked the URL also with a browser and it follows the redirection
into https and gets data from there. GDAL understands the returned GeoJSON once it is saved on disk.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> mapserver-users <mapserver-users-bounces@lists.osgeo.org>
<b>Puolesta </b>Weisbender, Eric<br>
<b>Lähetetty:</b> tiistai 29. syyskuuta 2020 20.27<br>
<b>Vastaanottaja:</b> b.j.kobben@utwente.nl; mapserver-users@lists.osgeo.org<br>
<b>Aihe:</b> Re: [mapserver-users] OGR Geojson error<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks Kobben. I think it might be more than a file naming issue. Below is the response from ogrinfo but I can find anything related online. Any ideas?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/usr/local/bin/ogrinfo </span><a href="http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson"><span lang="EN-US">http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson</span></a><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR 1: Peer's certificate has an invalid signature.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR 1: Peer's certificate has an invalid signature.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">FAILURE:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Unable to open datasource `http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson' with the following drivers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> PCIDSK<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> PDF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> EEDA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> ESRI Shapefile<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> MapInfo File<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> UK .NTF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OGR_SDTS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> S57<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> DGN<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OGR_VRT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> REC<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Memory<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> BNA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> CSV<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GML<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GPX<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> KML<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GeoJSON<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GeoJSONSeq<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> ESRIJSON<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> TopoJSON<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OGR_GMT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> WAsP<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OpenFileGDB<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> XPlane<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> DXF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> CAD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Geoconcept<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GeoRSS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GPSTrackMaker<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> PGDUMP<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GPSBabel<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> SUA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OpenAir<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> OGR_PDS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> WFS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> WFS3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> HTF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> AeronavFAA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> EDIGEO<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> GFT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> SVG<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> CouchDB<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Cloudant<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Idrisi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> ARCGEN<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> SEGUKOOA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> SEGY<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> ODS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> XLSX<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> ElasticSearch<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Carto<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> AmigoCloud<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> SXF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> Selafin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> JML<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> PLSCENES<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> CSW<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> VDV<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> MVT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> TIGER<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> AVCBin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> AVCE00<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> NGW<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -> HTTP<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1F497D">Eric Weisbender | GIS Program Lead<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1F497D">Western Area Power Administration | Headquarters<br>
(O) 720.962.7280 | </span><a href="mailto:weisbend@wapa.gov"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:blue">weisbend@wapa.gov</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> </span>
<a href="mailto:b.j.kobben@utwente.nl"><span lang="EN-US">b.j.kobben@utwente.nl</span></a><span lang="EN-US"> <</span><a href="mailto:b.j.kobben@utwente.nl"><span lang="EN-US">b.j.kobben@utwente.nl</span></a><span lang="EN-US">>
<br>
<b>Sent:</b> Saturday, September 26, 2020 2:53 AM<br>
<b>To:</b> Weisbender, Eric <</span><a href="mailto:Weisbend@WAPA.GOV"><span lang="EN-US">Weisbend@WAPA.GOV</span></a><span lang="EN-US">>;
</span><a href="mailto:mapserver-users@lists.osgeo.org"><span lang="EN-US">mapserver-users@lists.osgeo.org</span></a><span lang="EN-US"><br>
<b>Subject:</b> [EXTERNAL] Re: [mapserver-users] OGR Geojson error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif">It might be simply that file names beginning with a number are always a bad idea, because several libs and systems out there have problems with it...?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif;color:black">-- <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif;color:black">Barend Köbben<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On 25/09/2020, 16:45, "mapserver-users on behalf of Weisbender, Eric" <</span><a href="mailto:mapserver-users-bounces@lists.osgeo.org"><span lang="EN-US">mapserver-users-bounces@lists.osgeo.org</span></a><span lang="EN-US">
on behalf of </span><a href="mailto:Weisbend@WAPA.GOV"><span lang="EN-US">Weisbend@WAPA.GOV</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">Hello List,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have two sources of geojson data in my map file. One works fine the other does not. The one that works streams into the browser when I go to it directly. The other source downloads a file. The one that does not
work I get the following MapServer error. Also the geojson sources are listed below. The layer defs are the same in the mapfile.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance for your help.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `fire_nifc_point . File not found or unsupported format. Check server logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Works: </span><a href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fearthquake.usgs.gov%2Fearthquakes%2Ffeed%2Fv1.0%2Fsummary%2Fall_day.geojson&data=02%7C01%7C%7C0f22378af4d145891f5908d861f986da%7C31ae220fb94f463a9cfd15bbc9909df5%7C0%7C0%7C637367072099492666&sdata=aKFT%2B1hURzGSVSfk1h44nPYGwlxdE4QDPkKHeXhiHIk%3D&reserved=0"><span lang="EN-US">http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson</span></a><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">No Worky: </span><a href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopendata.arcgis.com%2Fdatasets%2F68637d248eb24d0d853342cba02d4af7_0.geojson&data=02%7C01%7C%7C0f22378af4d145891f5908d861f986da%7C31ae220fb94f463a9cfd15bbc9909df5%7C0%7C0%7C637367072099492666&sdata=j%2FlTPVAqXWFCsfAaQqsIKKH%2FE3o4jup0M%2FMQUxbMoNI%3D&reserved=0"><span lang="EN-US">http://opendata.arcgis.com/datasets/68637d248eb24d0d853342cba02d4af7_0.geojson</span></a><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1F497D">Eric Weisbender | GIS Program Lead</span></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1F497D">Western Area Power Administration | Headquarters<br>
(O) 720.962.7280 | </span><a href="mailto:weisbend@wapa.gov"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:blue">weisbend@wapa.gov</span></a><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</body>
</html>