Questions tagged as 'geojson'

1
answer

Problem with openlayers and coordinates

I have a problem with the openlayers library and it reads the coordinates backwards from my geojson . My geojson has for example: [-5.67063958389914,43.52764170586536] And openlayers read them like this: [43.52764170...
asked by 21.03.2018 / 11:36
2
answers

Specify Minetype in Intent for geojson type in Android

I have an app that generates a track in geojson format and I would like to give the possibility to share the file using intent in Android, but in minetype specific application/json but of course that makes any app that can r...
asked by 09.11.2017 / 13:43
0
answers

Distance between coordinates

I'm trying to calculate the distance between coordinates, the data to be compared comes from an sql query and a geojson. The query data are points that correspond to properties while the json data are vias. I need to take the first point a...
asked by 21.02.2018 / 12:41
0
answers

geojson for MultiPoint with mongodb and nodejs

I have defined this Scheme: let capaSchema = new Schema({ nombrecapa: { type: String, required: [true, 'El nombre de la capa es necesario'] }, descripcion: { type: String, required: [false] }, geojson: Object([ geoSchema ])...
asked by 27.12.2018 / 23:00
0
answers

Geojson with angular

How can I read a geojson file in angular (PD: I want to consume it as a web services, as well as json but in this case with geojson extension) (This is the structure) { "type": "FeatureCollection", "name": "datosG", "crs": { "type": "name", "p...
asked by 11.07.2018 / 17:36
0
answers

Error with @ types / geojson

I'm working with a web page created with angle 2, and when I try to open it locally I get the following error (image attached). Why could this happen?     
asked by 07.06.2018 / 18:09
0
answers

How can I make a PUT request in cURL using Android Studio?

The request I want to make: curl "https://api.mapbox.com/datasets/v1/{username}/{dataset_id}/features/{feature_id}?access_token=your-access-token" \ -X PUT \ -H "Content-Type: application/json" \ -d @file.geojson This is my geojson: {...
asked by 19.04.2018 / 17:27
1
answer

how to make the geojson format in java

I have a question, how would this format in java with hibernate and mysql? { type: 'FeatureCollection', features: [{ type: 'Feature', geometry: { type: 'Point', coordinates: [-77.032, 38.913] }, properties: {...
asked by 17.04.2018 / 22:11