[mapserver-users] [EXTERNAL] mapserver geojson query

Weisbender, Eric Weisbend at WAPA.GOV
Fri Apr 24 07:50:13 PDT 2020


Hey List,


I am displaying earthquake data in mapserver with a geojson layer defined in my map file.  When I query an earthquake location on the map the utc date time value changes from 1587732345039 to -140555448.  My query template value is [time] and the geojson is below.  Thanks in advance for all your help.



{"type":"Feature","properties":{"mag":1.79,"place":"6km WSW of Tuttle, Oklahoma","time":1587732345039,"updated":1587733031903,"tz":-360,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/ok2020ibgp","felt":null,"cdi":null,"mmi":null,"alert":null,"status":"reviewed","tsunami":0,"sig":49,"net":"ok","code":"2020ibgp","ids":",ok2020ibgp,","sources":",ok,","types":",geoserve,origin,phase-data,","nst":56,"dmin":0.1034796938,"rms":0.32,"gap":57,"magType":"ml","type":"earthquake","title":"M 1.8 - 6km WSW of Tuttle, Oklahoma",

Eric Weisbender

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200424/3a9ef43f/attachment.html>


More information about the mapserver-users mailing list