Tag Info

New answers tagged

0

If its a one time query and you don't have more than 1000 features try pasting this into qgis by using the add vector layer - choose protocol and replace this arcgis rest URL with yours: http://geodata.epa.gov/arcgis/rest/services/OAR/USEPA_NEI_2005/MapServer/1/query?where=objectid+%3D+objectid&outfields=*&f=json ... This assumes you have gdal 1.10 ...


1

For a one-time conversion I would have used the accepted answer from @Sasa Ivetic but needed something real-time, and Terraformer worked decently for that. Unfortunately it's only for single features by default, so for multiple features you need to loop through the array and add an ID to each feature: var FeatureCollection = { type: "FeatureCollection", ...


4

Use the JSON Reader and then use a VertexCreator transformer. This transformer (which was previously called the 2DPointReplacer) will let you convert the X/Y coordinate values into a true spatial feature. Then you can simply write the data to your Geodatabase Writer. Make sure the Allowed Geometries field is set to geodb_point


0

Technically we don't support shapefiles with ArcGIS Runtime SDK for Android, but it can be done. Concerning loading points from a json file you need to parse the geojson file. // Making the request and getting the response HttpClient client = new DefaultHttpClient(); HttpGet req = new HttpGet(url); HttpResponse res = client.execute(req); // Converting ...


2

Basically I just set a count attributes as the following codes: data.push( { attributes: {count:commuterAmt}, geometry: { spatialReference: { wkid: 102100 }, type: "point", x: coordXicon, y: ...


0

Oddly, I can only reproduce your error with your comment WHERE ST_IsValid(ST_AsGeoJSON("wkb_geometry")) which is attempting to export a geometry to a JSON string, then parse the text to a back to a geometry for ST_IsValid, which will raise a parse error since it expects WKT. ERROR: parse error - invalid geometry HINT: "{"" <-- parse error at ...



Top 50 recent answers are included