Here API: is there an output format for GIS desktop - here-api

I have used "Calculate Isoline" here API and I have a JSON output with the coordinates of the isochrone lines. This is an output example: https://gist.github.com/aborruso/68ccd0488f0f92d9518abf78d9393636
Is there a way to produce natively an output format file that I can open in desktop GIS? Is there a geojson output?
Thank you

No, there isn't way to produce natively an output format for Desktop GIS.
But we have a sample to extract JSON output from the API to GeoJson format.
Please have a look at below sample url.
https://tcs.ext.here.com/examples/v3/geojson_route_extraction
I hope this help!

Related

Ogr2Ogr conversion to SQLIte: geometry format?

I use ogr2ogr to convert DXF-files. The conversion to KML and geojson works very well.
For another purpose I need to convert the DXF to SQLite. It works, but I don't know how to use or read the geometry. There's a table "Entities" with a column "GEOMETRY" in somewhat BLOB format.
Does anybody know how to convert this GEOMETRY to WKT, JSON, x/y or something else?
I tried Spatialite (AsText, AsWKT, AsKML) without success.
Thanks!
EDIT/CLOSE:
After many hours I found the cli-parameter -lco to change the geometry format to WKT.
The doc (https://gdal.org/drivers/vector/sqlite.html#layer-creation-options) lists many parameters but has no examples how to use them.
So my working command line is:
ogr2ogr.exe -f SQLite -lco FORMAT=WKT target_wkt.db source.dxf

Web3.js and Ether.js help me

Im learning web3, and while examining the source code of a page, I saw that the abi file was written in a strange way, what is it? how can i decode?
I assumed it was hexcode and tried to convert it..
http://ddecode.com/hexdecoder/
it didn't work
ABIs are JSON files. JSON stands for JavaScript Object Notation, and is a commonly-used data transfer format. Here's an introduction to JSON: https://www.w3schools.com/whatis/whatis_json.asp
Here's a quick description of ABIs: https://ethereum.stackexchange.com/a/235/97038
EDIT: It appears that the file you're looking at is obfuscated: https://blog.jscrambler.com/javascript-obfuscation-the-definitive-guide

Converting a (probable) ENVI file to decimals using R or excel

I got the output file from a spectrometer which is supposed to be a series of decimals numbers. The file looks like this:
™pQH1JHxþFH$ÏFH÷~EHa×BHäBHßdBH.#H²Ï=HL=HŒÚ<Hê‰:H­P:Hoõ9H¢Ž6Hº7H¨Y5H ?1H½¶.Hø²0HøŽ2H8æ.H.î,HŒt/H&1H͸0Hí.Hvî,H$ª+HµX+HCý*H·W+H!º+HP+HfØ(Hû'H†Ù'H|U(HQ`)Hn*H
})H'Hó%HÂ%H¶¨&H&H|•&H\
I have been reading a lot without getting to the solution. My silly question is: is that a ENVI or ASCII file? Or? How can I see the numbers I need do to use? I tried some online converters without being successful.
The starting point would be to get these numbers to develop a R code to make graphs. Thanks a lot for your time.
This looks like you opened the binary file of the mass spectrometer. Almost all vendors keep their format a secret. The only way to do this is to export it to an open format. Most vendors supply some kind of data analysis software and there are often export functions present. Most general open data formats are mzXML and mzML.
For converting have a look at the msconvert program from ProteoWizard.
If you have converted the data one of the packages in R where you can start with is XCMS.

GeoTIFF to HDF Conversion?

I'm in a big trouble. I've downloaded a GeoTIFFF Dataset from http://earthexplorer.usgs.gov/ ; my problem is that I need the dataset in HDFv4 format, because I've to open it in IDL (please don't tell me "IDL can open GeoTIFF", I NEED HDFv4 format) . May you please suggest me a tool that does this conversion?
Thanks a lot.
Just to get you started, you could read in the image and its GEOTIFF tags using the following command:
file = FILEPATH('boulder.tif', SUBDIR=['examples','data'])
data_variable=READ_TIFF(file, GEOTIFF=GeoKeys)
HELP, GeoKeys, /STRUCTURE
You would then need to pull apart the geotiff structure and write the data back to an HDF4 file. I don't quite understand why you need HDF4, and I'm also not sure how you're going to write the GEOTIFF data into the HDF4 file, since HDF4 doesn't have anything "specific" about map projections.
See the docs for more details:
http://www.harrisgeospatial.com/docs/read_tiff.html
Here's a really bad way to do the conversion:
https://www.hdfgroup.org/HDF5-FAQ.html#gtifftohdf
Basically, in that case you are only saving the image data, not the geotiff-specific data.
Good luck!

How to create Store for native binary format(.ID, .DAT, .Tab, .MAP) in geoserver

Hi i have four different file format (.ID, .DAT, .Tab, .MAP) i have to upload these in geoserver and see the map . Are these file format supported by geoserver.if yes please help me how to do it i had done googled and haven't found any solution.
Hi this is a good question As far i know these file formates are not supported by the geoserver so if you want to see map i will suggest you should go for .shp file format

Resources