Tag Info

New answers tagged

0

I believe that I have found an adequate solution that meets all of my requirements. Thanks to user30184's answer, which pointed me in the direction of ImageIO, I was able to find an alternative Java imaging library called Apache Commons Imaging. It is a pure-Java library that consists of a single small JAR file. It also supports both reading and writing of ...


1

Install OpenJUMP and study what all has been gathered into it I have never really understood what all the alternatives are. ImageIO-ext is probably utilising native GDAL binaries if such are available but at least most other alternatives are pure java. There is also one more alternative in OpenJUMP called "Sextante raster" which is also pure java. ...


0

The OSM OSMOSIS page gives beginner examples under the section marked 'usage'. For further documentation try the detailed usage section. For routing specifically, you may also like to investigate PgRouting (for which you will need to load your data into PostGIS using OSMOSIS or OSM2PGSQL) or have a look at OSM2PO. Both of these a common routing solutions ...


0

It looks like Boundless only want to provide answers to questions if you pay them lots of money for support. They don't even run their own support forums anymore and rely on stack exchange instead. Download the version at http://geoserver.org instead, the Mac integration isn't quite as good but this version at least works.


2

I think that there are several open-source GIS and spatial analysis platforms that target the Java virtual machine (JVM). GeoTools, for example, provides a fairly comprehensive Java-based spatial library. If you're only interested in vector data analysis, then I can certainly recommend the Java Topology Suite as a basis for spatial analysis development. I am ...


1

It's been quite some time since I've used Linux, but I seem to recall two general ways of launching Java programs. It can be launched from the command line as you would on any other system: java -jar /full-path-to/WhiteboxGIS.jar Navigate to the Whitebox folder. Right click the WhiteboxGIS.jar and select 'Properties'. Mark the file as executable ...


1

The file osm2po.config, which can be obtained from the downloads tab on the osm2po page, contains a table with four column, defined as: 1) concurrent order 2) class (1-127) 3) default speed in kmh 4) allowed transportation type (optional) - since v4.5.30 And here are some sample rows, which I think explain where the 12, 51, etc, you are ...


0

DGNLib is a small C/C++ library.


1

I believe the issue with OSGeo4W64 was due to the fact that I did an advanced install (although I don't recall what I chose...it was probably everything). After purging every thing Java from the system and reinstalling the jre1.7.0_67, I still received more errors. Then I removed OSGeo4W64 and reinstalled with the Express Desktop Install: Then: Then ...


1

All you need to do is create a correct URL in your app and use Java to open the URL and fetch the contents as an image. The display the image as usual. To determine what URL you need you should read the WMS specification, or if you are in a hurry crib one from the GeoServer examples page or any other web map you can find.


0

Geoserver is a Server based application that generates maps by sending tiles to a Client Application. The two most Common Client Applications are Openlayers and Leaflet which rely on JavaScript to handle the presentation of the tiles to the end user on the Client. JavaSE has the ScriptEngineManager (javax.script package) which can execute JavaScript, and ...


1

I guess you added in your classpath gt-epsg-postgres instead of gt-epsg-hsql? Delete gt-epsg-postgresql-11.0.jar from your classpath and add gt-epsg-hsql-11.0.jar into it. EDIT(Inspired by comments): For making the answer more understandable for others: GeoTools was set to store the EPSG projection database into PostgreSQL database. The default is to use a ...


0

DataStoreFinder is depricated in new versions. And the tutorial you mentioned is an old tutorial. You can code in the following manner: String getCapabilities = "http://localhost:8081/geoserver/wfs?REQUEST=GetCapabilities&version=1.0.0"; Map connectionParameters = new HashMap(); connectionParameters.put("WFSDataStoreFactory:GET_CAPABILITIES_URL", ...


3

In your code, you miss to define a feature type: In GeoTools (and not only), you will first need to define the structure of your data, ie the Feature type (~ schema). For this you have to use SimpleFeatureTypeBuilder that will help to build the feature type, afterwhat you will be able to construct properly the SimpleFeatureBuilder based on the featuretype ...



Top 50 recent answers are included