An object-oriented cross-platform programming language developed by Sun Microsystems.

learn more… | top users | synonyms

1
vote
2answers
22 views

Looking for an open-source Java based GeoTIFF library

I have written many programs for reading and writing various types of spatial data in the past but I must admit that the GeoTIFF format has often gotten the better of me. It's such a flexible format ...
0
votes
1answer
36 views

osmosis library in java application

I want to do a navigation application OSM PBF files. I'm using the pbf files from the osm website. I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis ...
2
votes
1answer
49 views

Suggestion for java based GIS sdk for desktop application

I am developing a desktop GIS application using JavaFX that needs to run on Linux. I have been using ArcGIS java sdk and it is really good for all my requirements. But when I started testing it on our ...
0
votes
1answer
18 views

Exception error when enabling workspace specific services in Geoserver 2.5 OpenGeo suite

When I try and enable a workspace specific WMS in the bundled GeoServer app form boundless I get the following error. java.lang.reflect.InvocationTargetException This is running on OSX 10.9.5 with ...
2
votes
1answer
51 views

Whitebox GIS installation on linux

Can anybody give guidance to installing Whitebox GIS software on linux? I have already: set up a clean xfce4 machine installed java 8 successfully unzipped the latest version of whitebox (Iguazu ...
2
votes
0answers
37 views

Sqlite insert java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: SRID)

I'm trying to connect to two DBs and then copy tables by inserting rows from one table to another through java using JDBC. I'm using sqlite-jdbc-3.7.2.jar plugin.The setup is in Eclipse Luna. I'm ...
2
votes
1answer
38 views

What does the values in column clazz (osm2po) mean?

I have a given table in postgreSQL with OSM data which is used for routing purposes in Java with PGRouting. There exist two columns which I don't understand. They belong to osm2po. They are labeled ...
2
votes
0answers
23 views

Transforming from Java EE developer to GIS developer?

Currently i am working as Java Analyst programmer. But i want to transform from Java developer to GIS developer. I tried to pursue MS in SDSS but did not completed my Master Thesis. I have knowledge ...
2
votes
1answer
57 views

How to correctly configure OSGeo4W64 for Windows 7 64-bit?

I have successfully installed OSGeo4W64 on numerous new systems (actually EC2 instances) and had no issues. But I've run into an issue with it on a Windows 7 workstation that has a lot of JREs on ...
0
votes
0answers
34 views

Geoserver ( Java.exe ) cause server to run 100%

Our server runs at 100% CPU when using map services build on geoserver + postgresql I can not find anything in geoserver logs. It is Java.exe takes 100% CPU and because of that server can not do ...
3
votes
2answers
35 views

Displaying a GeoServer Map from a Java Mobile Application

How can I display a Map generated by GeoServer from a Java Mobile Application? I would like to display it inside a Java App instead of a android application. Is this possible?
0
votes
1answer
20 views

GeoTools exception: failed to connect to EPSG database

I downloaded the GeoTools 11.2 binary and am attempting to get it to run in my Netbeans java application. I tried to run this part of code: ... SimpleFeatureSource source = ...
1
vote
0answers
23 views

How to use ArcGIS in JavaFX?

Can anyone help me use ArcGIS in JavaFX. I have a sample code but it's in swing application. Sample code for creating a map I would like to use it in JavaFX. Any suggestions?
2
votes
1answer
35 views

Read DGN file in java or c#

I'm looking solution to read DGN file in java or c# without any success. Gdal makes many problem and doesn't support all element eg. complex element. Does anyone know of a library that supports the ...
3
votes
1answer
99 views

Creating point in shapefile from latitude/longitude using GeoTools?

I m new to geotools and i find bit difficult to plot a point using the latitude and longitude values. can any one heple me out to solve my problem. GeometryFactory geometryFactory = ...
0
votes
0answers
34 views

Problem with ArcGISRuntimeSDK for Java on CentOS 6.2 after Installing AMD Catalyst Driver

I am working to develop an application on CentOS 6.2 using the ArcGISRunetimeSDK for Java. The application works as expected when the default drivers are used (mesa, I believe), but immediately after ...
1
vote
0answers
47 views

How to check if a point is within bounded rectangle from Java

I make an AJAX request to retrieve data from a mysql database. I add the data to google.maps.Data layer as geojson. I would only like to load the data based on the viewport. To obtain the viewport ...
1
vote
1answer
44 views

Java library for reading geojson from MySQL

I am looking for a way to retrieve mysql geometry data as geojson from the database either using a java library or for converting wkt to geojson using either java or javascript. Currently I am doing ...
4
votes
1answer
37 views

Whitebox is not finding my java

I was recently presented to the software Whitebox GAT 'Iguazu'. Unfortunately, I tried to use it in two different machines: one with Windows 7 (64) + JRE 7 (65) and other with W7 (64) + JRE 7 (67) . ...
1
vote
1answer
96 views

How to get Intersection point from two lines (coordinates)

I have tried for ages to find the algorithm for getting the coordinate of two intersecting lines from a given coordinate (latlong). As the picture below suggest. I have two coordinates (A and B). ...
1
vote
0answers
29 views

ArcGIS Server Error - ClientCommunicatorAdmin restart

I am seeing some strange behavior each night with our ArcGIS Sever installation where it will throw the following error and become unresponsive. Sep 01, 2014 4:03:06 AM ClientCommunicatorAdmin ...
1
vote
0answers
24 views

How to create schematic attribute as associated field using ArcObjects?

I'm trying to automate the complete creation of a schematic template with ArcObjects SDK for Java (10.2). I've managed to create the GDB, the schematic dataset and the schematic diagram class ...
2
votes
0answers
89 views

How to convert shp to csv

I am trying to convert my shape files to csv through a batch processing in Java using Geotools. The problem is I have more than 500 shape files (point features). The code is working fine for a small ...
1
vote
0answers
33 views

Tips design a good key for HashMap using java [closed]

The very basic need for designing a good key is that we should be able to retrieve the value object back from the map without failure HashMap Reference says that HashMap is used for storing collection ...
1
vote
2answers
56 views

Converting Shapefile data to GeoJSON

I have access to some open data for which I want to obtain some coordinates to put onto a map. Unfortunately, the data is in the Shapefile format which is rather difficult to work with. I am trying to ...
1
vote
1answer
45 views

Difference between ArcObjects SDK for Java and ArcGIS Runtime for Java?

I would like to develop spatial tools and automate my spatial analysis process (including converting XY into shp, proximity analysis, network analysis, geocoding etc on thousands of files) in Java. ...
2
votes
0answers
86 views

Rendering performance

I am using ArcGis Java SDK for creating a map in my JavaFX application. I have a requirement to plot up to 500,000 graphics on graphics layer. When I do 100,000 graphics its performance is really bad. ...
0
votes
0answers
11 views

How to read *.map file by using geotools api in Java? [duplicate]

How to read *.map file by using geotools api? String filePath ="C:\\CTO-New\\SOCLOMO\\Location\\Map Info FIles\\New folder\\18-july-2014\\1301\\filename"; File file = new File(filePath); ...
1
vote
2answers
109 views

How to convert multiple csv files to shp using Java

I have some 100 CSV files. I want to convert them in shp format using Java. The csv file contains lat long information in WGS84. I can understand it is a batch processing and it is difficult to do in ...
1
vote
1answer
36 views

MapXtreme Java Edition

I'm learning GIS in Java with MapXtreme Java Edition but I can't find MapXtreme Java Edition file setup for Window (trial). Can you share link download or software for me?
1
vote
1answer
29 views

Java how to create geotiff from points

I have an array of objects where each object has three fields: lat, lon, and category. It is essentially pixels that have been given a land use category. I cannot figure out how to turn this data into ...
1
vote
1answer
24 views

Using OTB-Wrapping of Orfeo Toolbox (Java)?

I can not find the code/binding/whatever for Java... http://orfeo-toolbox.org/otb/ https://en.wikipedia.org/wiki/Orfeo_toolbox Can someone help me on that issue?
2
votes
0answers
126 views

How to read each pixel of each band of a multiband GeoTiff with GeoTools Java

I am new to working with Raster in GeoTools-very experienced in java. My goal is to read in a geotiff that has multiple bands, then create a HashMap for each pixel, where the key is simply the lat/lon ...
1
vote
0answers
78 views

Accessing all fields of joined tables using ArcObjects SOE? [closed]

I am using arcobject 10.2 java sdk I have a service published where data is coming from a featureLayer and table, the mapservice is returning all the results as expected but when i search the fields ...
0
votes
0answers
13 views

How can i find shortest point on edge of a polygon from a point to that polygon (not it's distance ) [duplicate]

Point(x,y) may be inside or outside of the polygon ,shortest distance between polygon ABCDE and point(x,y) is marked as red line ,the intersecting point is Point(m,n) .I need the value of m and n I ...
4
votes
3answers
428 views

How can I find closest point on a polygon from a point

I have a point that may be inside or outside of a polygon, I need to find the nearest point on the polygon boundary from the point. Point(x,y) may be inside or outside of the polygon, shortest ...
1
vote
0answers
56 views

Java library for rendering

We have some shapefile data and we tried to render them according to scope (boundingbox) from user. For example, the client may send request like this: ...
0
votes
0answers
91 views

Splitting multiple polygons with a line in JTS geotools

i am using geotools as my GIS map solution. now i want to split multiple polygons to build a road or river. passing through multiple polygons so, can you plz help me how to do this splitting a single ...
1
vote
1answer
93 views

Displaying coordinate references in GeoTools?

I'm using this library to finish my final project and I have to say I'm no familiar with the maps worlds. My question is if geotools has a method to show automatically the coordinates references in ...
0
votes
1answer
762 views

I nead to find the nearest places based on latitude/longitude points

I have a java aplication backed by a mysql database which contains events with locations (latitude/longitude), the location data is saved as POINT data type. I nead to find the nearest events in some ...
0
votes
1answer
31 views

Not able to find some of the gdal drivers when using the java bindings as opposed to gdal by itself

I am new to the gdal scene so there might be a simple explanation for my problem. When executing ogrinfo from the command line there is a large list of supported formats. ...
1
vote
1answer
121 views

Create shapefile from data PostGIS or KML using Java

I'm working on a geographic information system project, whose products form shapefiles. I am using the Java programming language and a PostGIS database. Is there a way to generate a shapefile from ...
0
votes
1answer
79 views

Create shapefile from data postgis / kml using java [duplicate]

I'm working on a geographic information system project, whose products form shapefile. I am using java language, and PostGIS database. Is there a way to generate a shp file from PostGIS or kml using ...
0
votes
0answers
50 views

Getting placemarks on map and setting bounds based on all placemarks

I'm trying to do what most folks do in the Google Maps API, and add a bunch of markers to a WWPanel and then adjust the map bounds to fit all Placemarks in the WWPanel view. How can this be done? This ...
0
votes
0answers
52 views

Point to Line Calculations

We are looking to take a point and compare it against the nearest point to an adjacent line. All values are in lat/long. We tried using some of the concept found on the board but found it did not ...
0
votes
0answers
57 views

Extract BoundingBox with Osmosis Java API

I'm am trying to use the Osmosis Java API to extract reasonably sized blocks from the OSM planet file using the BoundingBoxFilter. Note: I'm using maven Osmosis packages NOT the command line ...
0
votes
0answers
39 views

Function that returns the coordinates of the searched address

I'm using Java and GMaps4JSF to make an application where the person pesquisaum address that address is displayed on the map. As the code below, but I need to create a javascript function that ...
0
votes
0answers
59 views

Polygonize a raster using GDAL JAVA bindings - passing raster pixel value to the resulting feature

I have a raster GeoTIFF file with values from 0 to let's say 5. When I run gdal.polygonize (I'm working with JAVA and GDAL bindings to JAVA) on it, I get features with corresponding polygons. The ...
0
votes
0answers
47 views

Communication between widgets (flex)

Default Communication between widgets hi, i'm new in flex, and im working on Webmapping application using flex 4.6, java, and sql server as database, i'm just trying to make a communication between ...
0
votes
0answers
63 views

How to create GeoTiff file from .h5 file?

I have .h5 file containing Latitude, Longitude and Dataset(I m working multiple type of dataset).And I want GeoTiff file of it contains all Information related to GeoTiff. So is there any way to ...