Tag Info

New answers tagged

0

The solution in terms of geodesics is given in Section 8 of Algorithms for geodesics. This uses the ellipsoidal gnomonic projection to convert the problem to an equivalent planar problem. An implementation of the solution in C++ is given here. GeographicLib includes the necessary underlying geodesic routines in both C# and Java.


0

Assuming that you are dealing with geographic coordinates and geographic (true north) bearings, you have a couple of options: Project the situation onto the plane, solve using the simple planar coordinates method, and reverse project back to the spheroid. Perform geodetic or spherical geometry calculations. If your distances are not too great and your ...


2

Assuming that we're dealing with the planar coordinate case (that is not actually what the OP suggested, but I offer this as a better answer to the one given so far – and so far, accepted, by the OP – for the planar case), it helps to first determine the direction cosines from the two clockwise bearings, βAC and βBC, from known points A ...


0

JTS is only for cartesian coordinates, your's are ellipsoidal. So I would say the answer is "do not use JTS for this". You would need write a method for the calculation yourself.


0

This could be related to any number of factors, such as RAM, CPU etc on your machine. But the most likely is that your GeoTiff isn't optimised for speed. Have you added overviews? is your image tiled or does GeoTools have to read the whole image each time to draw a small subset. I recommend you read the excellent GeoServer on Steroids talk from GeoSolutions ...


0

First, the most important fact! CityGML is not a rendering format. It is designed to exchange information which explains its complexity. If you need KML you can use the already mentioned 3DCityDB. It has an export plugin to KML and COLLADA. At the moment many developers are going for COLLADA which you can convert into glTF and throw to Cesium. You can also ...


0

You could use gdal/ogr on android to do the conversion. Building gdal/ogr and spatiallite for android is not difficult if you have used the ndk before.


2

I would check the tests in github, here. That said I would say you should look into optimized (big)tiff support. Check these slides which are made for GeoServer but still usable for your case I believe. http://goo.gl/74XUPq Simone.


0

you can collect all polygons of a city object by using a GMLWalker GMLWalker gmlWalker= new GMLWalker() { public void visit(Polygon polygon) { if (polygon.isSetExterior()) { AbstractRing exteriorAbstractRing = polygon.getExterior().getRing(); ... } } }; cityObject.accept(gmlWalker); Have a look at ...



Top 50 recent answers are included