[mapserver-users] OGR Geojson error

Weisbender, Eric Weisbend at WAPA.GOV
Tue Sep 29 10:27:09 PDT 2020


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 | weisbend at wapa.gov<mailto:weisbend at wapa.gov>

From: b.j.kobben at utwente.nl <b.j.kobben at utwente.nl>
Sent: Saturday, September 26, 2020 2:53 AM
To: Weisbender, Eric <Weisbend at WAPA.GOV>; mapserver-users at 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-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> on behalf of Weisbend at WAPA.GOV<mailto:Weisbend at 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 | weisbend at wapa.gov<mailto:weisbend at wapa.gov>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200929/703a0054/attachment-0001.html>


More information about the mapserver-users mailing list