Hot answers tagged java
I've made a lot of simplification. My need is to convert from Lambert93 (IGN) to WGS84. For the region of Bordeaux (south/west of France), the result is exactly the same as Geofree. import static java.lang.Math.abs; import static java.lang.Math.atan; import static java.lang.Math.exp; import static java.lang.Math.log; import static java.lang.Math.pow; import ...
You could use the Google Fusion tables version (see related blog post) of the Natural Earth world boundaries dataset with the Google Maps API, as in these answers: Country boundries using Google Map API v3 Google Maps V3: Draw German State Polygons?
You can use getMap() or getMapLayers() methods of the GPUtilities class. Note that this can return null depending on how and where your geoprocessing tool is run. If you need to specify rendering of an output layer, I believe the correct way to do that is to implement IGPFunction2.getRenderer() method on your GP function class.
Is it accessible, or did it get dropped in parsing? No, it is very much possible to access any node in a KML file provided you don't miss out on the JAXB hierarchy: You may try something like below: final Kml kml = Kml.unmarshal(new File("C:\\"YOUR DIRECTORY"\\Sample_2013_q3.kml")); final Document document = (Document)kml.getFeature(); ...
Only top voted, non community-wiki answers of a minimum length are eligible