MenuForum NavigationForumActivityLoginRegisterForum breadcrumbs - You are here:ForumAres Alpha: Mobile AppImporting json to the map editorPost ReplyPost Reply: Importing json to the map editor <blockquote><div class="quotetitle">Quote from <a class="profile-link highlight-default" href="#">jvangeld</a> on August 26, 2024, 7:20 pm</div>I see that the ares-alpha map editor can export and save to json files. I've drawn up my field in Google My Maps, so I thought that I might be able to import some of the features from that map. Google My Maps lets you export to kml/kmz or csv. I've done both of those, then brought the data into QGIS version 3.22.3 QGIS is able to open and draw the data. For the csv file I told it that it was in the EPSG 3857 coordinate reference system. Anyways, then I exported my lines as a geojson file. I went over to ares-alpha web map and hit the "Import" button. It only accepts .json files. Which is fine, I to back to my geojson file and save it as a .json. I tried to import it. Ares-alpha reports "Invalid map file." So, does anyone know if there is some changes I should make to my process so that it will be able to import? As I said, I tried exporting both a kml and a csv from Google. QGIS is happy with both, but Ares is not. Here is the json string that QGIS exports: { "type": "FeatureCollection", "name": "Lines", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::3857" } }, "features": [ { "type": "Feature", "properties": { "Name": "roadn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4427103, 45.6739079, 0.0 ], [ -122.4427586, 45.6740335, 0.0 ], [ -122.4427452, 45.6741272, 0.0 ], [ -122.4426566, 45.6742078, 0.0 ], [ -122.4424394, 45.6742659, 0.0 ], [ -122.4422999, 45.6743615, 0.0 ], [ -122.442257, 45.6745489, 0.0 ], [ -122.4422785, 45.6748057, 0.0 ], [ -122.4425333, 45.6749256, 0.0 ], [ -122.4426996, 45.6749069, 0.0 ], [ -122.4427747, 45.6748432, 0.0 ], [ -122.4427317, 45.6745958, 0.0 ], [ -122.4426861, 45.6743296, 0.0 ], [ -122.4426566, 45.6742041, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Line 6", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4426776, 45.6742653, 0.0 ], [ -122.44288, 45.674255, 0.0 ], [ -122.4430343, 45.6743051, 0.0 ], [ -122.4432636, 45.6743178, 0.0 ], [ -122.4433776, 45.6744424, 0.0 ], [ -122.4434098, 45.6747975, 0.0 ], [ -122.4432703, 45.6751068, 0.0 ], [ -122.4431925, 45.6751593, 0.0 ], [ -122.4431094, 45.6752136, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Roadn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4422407, 45.6747724, 0.0 ], [ -122.4421442, 45.6747753, 0.0 ], [ -122.4416748, 45.6747443, 0.0 ], [ -122.4414696, 45.6746347, 0.0 ], [ -122.4413972, 45.6745766, 0.0 ], [ -122.441137, 45.6744885, 0.0 ], [ -122.440858, 45.6744266, 0.0 ], [ -122.440616, 45.6743163, 0.0 ], [ -122.4405382, 45.674202, 0.0 ], [ -122.4404658, 45.6740633, 0.0 ], [ -122.4403934, 45.6739358, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Waterfall Pathn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.442566, 45.6737109, 0.0 ], [ -122.4424667, 45.6738421, 0.0 ], [ -122.442405, 45.6739733, 0.0 ], [ -122.4423675, 45.674112, 0.0 ], [ -122.442228, 45.6740933, 0.0 ], [ -122.4419571, 45.6740802, 0.0 ], [ -122.4418498, 45.6740877, 0.0 ], [ -122.4416137, 45.6742526, 0.0 ], [ -122.4414072, 45.6742938, 0.0 ], [ -122.4412436, 45.6743444, 0.0 ], [ -122.4413885, 45.6745562, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4425364, 45.6742357, 0.0 ], [ -122.4425177, 45.6741701, 0.0 ], [ -122.4423675, 45.674112, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "intermittent streamn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4409915, 45.6759429, 0.0 ], [ -122.4412919, 45.6756055, 0.0 ], [ -122.4415118, 45.6752307, 0.0 ], [ -122.4417371, 45.6748784, 0.0 ], [ -122.4419625, 45.6747547, 0.0 ], [ -122.4420268, 45.6745823, 0.0 ], [ -122.442059, 45.6742374, 0.0 ], [ -122.4422092, 45.674005, 0.0 ], [ -122.4422897, 45.6738438, 0.0 ], [ -122.442456, 45.6736377, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Road", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4416761, 45.6747021, 0.0 ], [ -122.4415227, 45.6749479, 0.0 ], [ -122.4414717, 45.6751466, 0.0 ], [ -122.4415737, 45.675244, 0.0 ], [ -122.4415522, 45.6754202, 0.0 ], [ -122.4417091, 45.6755748, 0.0 ], [ -122.4418271, 45.6756329, 0.0 ], [ -122.4418982, 45.6757763, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Road", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4415737, 45.675244, 0.0 ], [ -122.4418446, 45.6752028, 0.0 ], [ -122.4423381, 45.6752703, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Motorcycle Jumpn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4418392, 45.6747024, 0.0 ], [ -122.4417829, 45.6748392, 0.0 ], [ -122.4417158, 45.6749535, 0.0 ], [ -122.4415576, 45.6750079, 0.0 ], [ -122.4414905, 45.6750472, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Road", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.44255, 45.6757819, 0.0 ], [ -122.4418982, 45.6757763, 0.0 ], [ -122.4415737, 45.6757725, 0.0 ], [ -122.4410962, 45.6757557, 0.0 ], [ -122.4409138, 45.6756582, 0.0 ], [ -122.4407207, 45.6755176, 0.0 ], [ -122.4406483, 45.6754071, 0.0 ], [ -122.4406655, 45.6752156, 0.0 ], [ -122.4407459, 45.6751163, 0.0 ], [ -122.4407526, 45.67454, 0.0 ], [ -122.440858, 45.6744266, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Sloppy Wet Trailn", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.441568, 45.6753065, 0.0 ], [ -122.4414581, 45.6753824, 0.0 ], [ -122.4412851, 45.6754143, 0.0 ], [ -122.4411872, 45.6754883, 0.0 ], [ -122.4412408, 45.6755773, 0.0 ], [ -122.4413199, 45.6756663, 0.0 ], [ -122.4411443, 45.6756972, 0.0 ], [ -122.4411349, 45.6757582, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4418392, 45.6747024, 0.0 ], [ -122.4417788, 45.6745688, 0.0 ], [ -122.4417734, 45.6744507, 0.0 ], [ -122.4418512, 45.6743364, 0.0 ], [ -122.4417252, 45.6743177, 0.0 ], [ -122.4417118, 45.6742389, 0.0 ], [ -122.4416137, 45.6742526, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4412436, 45.6743444, 0.0 ], [ -122.4412182, 45.6742277, 0.0 ], [ -122.4412746, 45.6741302, 0.0 ], [ -122.4414274, 45.674044, 0.0 ], [ -122.4415455, 45.6739391, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4433505, 45.6739741, 0.0 ], [ -122.4434242, 45.6741939, 0.0 ], [ -122.443349, 45.6742511, 0.0 ], [ -122.4433048, 45.674282, 0.0 ], [ -122.4432636, 45.6743178, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4412317, 45.6742859, 0.0 ], [ -122.4410976, 45.6742053, 0.0 ], [ -122.4409917, 45.6741181, 0.0 ], [ -122.4406846, 45.6741022, 0.0 ], [ -122.4405585, 45.6741013, 0.0 ], [ -122.4404914, 45.6741125, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "path", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.44288, 45.674255, 0.0 ], [ -122.4427979, 45.6743107, 0.0 ], [ -122.442696, 45.6743735, 0.0 ] ] } }, { "type": "Feature", "properties": { "Name": "Ditch", "description": null, "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": 1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null }, "geometry": { "type": "LineString", "coordinates": [ [ -122.443488, 45.6740643, 0.0 ], [ -122.4434404, 45.6740301, 0.0 ], [ -122.4434357, 45.6739284, 0.0 ], [ -122.4434297, 45.673644, 0.0 ], [ -122.4434303, 45.6735376, 0.0 ], [ -122.4434317, 45.6734271, 0.0 ], [ -122.4434448, 45.6731539, 0.0 ] ] } } ] }</blockquote><br> Cancel