Hi, I found couple of issues but can’t say how severe they are:
http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson this returns HTTP 302, moved temporarily and it redirects to https port https://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson Trying to access the https port gives an error: curl: (7) Failed to connect to opendata.arcgis.com port 443: Connection refused 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. -Jukka Rahkonen- Lähettäjä: mapserver-users <mapserver-users-boun...@lists.osgeo.org> Puolesta Weisbender, Eric Lähetetty: tiistai 29. syyskuuta 2020 20.27 Vastaanottaja: b.j.kob...@utwente.nl; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] OGR Geojson error 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? /usr/local/bin/ogrinfo http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson ERROR 1: Peer's certificate has an invalid signature. ERROR 1: Peer's certificate has an invalid signature. FAILURE: Unable to open datasource `http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson' with the following drivers. -> PCIDSK -> PDF -> EEDA -> ESRI Shapefile -> MapInfo File -> UK .NTF -> OGR_SDTS -> S57 -> DGN -> OGR_VRT -> REC -> Memory -> BNA -> CSV -> GML -> GPX -> KML -> GeoJSON -> GeoJSONSeq -> ESRIJSON -> TopoJSON -> OGR_GMT -> WAsP -> OpenFileGDB -> XPlane -> DXF -> CAD -> Geoconcept -> GeoRSS -> GPSTrackMaker -> PGDUMP -> GPSBabel -> SUA -> OpenAir -> OGR_PDS -> WFS -> WFS3 -> HTF -> AeronavFAA -> EDIGEO -> GFT -> SVG -> CouchDB -> Cloudant -> Idrisi -> ARCGEN -> SEGUKOOA -> SEGY -> ODS -> XLSX -> ElasticSearch -> Carto -> AmigoCloud -> SXF -> Selafin -> JML -> PLSCENES -> CSW -> VDV -> MVT -> TIGER -> AVCBin -> AVCE00 -> NGW -> HTTP Eric Weisbender | GIS Program Lead Western Area Power Administration | Headquarters (O) 720.962.7280 | weisb...@wapa.gov<mailto:weisb...@wapa.gov> From: b.j.kob...@utwente.nl<mailto:b.j.kob...@utwente.nl> <b.j.kob...@utwente.nl<mailto:b.j.kob...@utwente.nl>> Sent: Saturday, September 26, 2020 2:53 AM To: Weisbender, Eric <weisb...@wapa.gov<mailto:weisb...@wapa.gov>>; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> Subject: [EXTERNAL] Re: [mapserver-users] OGR Geojson error 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...? -- Barend Köbben On 25/09/2020, 16:45, "mapserver-users on behalf of Weisbender, Eric" <mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org> on behalf of weisb...@wapa.gov<mailto:weisb...@wapa.gov>> wrote: Hello List, 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. Thanks in advance for your help. Error: msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `fire_nifc_point . File not found or unsupported format. Check server logs. Works: http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson<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> No Worky: http://opendata.arcgis.com/datasets/68637d248eb24d0d853342cba02d4af7_0.geojson<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> Eric Weisbender | GIS Program Lead Western Area Power Administration | Headquarters (O) 720.962.7280 | weisb...@wapa.gov<mailto:weisb...@wapa.gov>
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users