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

learn more… | top users | synonyms

2
votes
0answers
108 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
120 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
60 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
40 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
43 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
1answer
206 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
108 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
569 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
63 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
97 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
113 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
1k 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
38 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
2answers
160 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
102 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
63 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
69 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
87 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
43 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
71 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
57 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
85 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 ...
0
votes
1answer
188 views

Opening shapefiles with geotools

Trying to make a simple class that will read shapefiles and eventually be able to pull out the coordinates/attributes for each feature (working with points here). But can't quite figure out geotools. ...
0
votes
0answers
27 views

Rendering layers on-the-fly

I am using Geoserver and openLayers for rendering map layers. The task I have to do is as: I will have a set of zipcodes of US. I need to display a map of states for each zipcode. Suppose a user ...
0
votes
1answer
102 views

Is there any tool to reproject x,y coordinates, apart from Proj4?

I have a JEE project (Java, JBoss) and I'm looking for a library that allows x,y coordinates reprojection. I know about Proj4. Do you have any other option? Is it possible to find on the net a ...
0
votes
0answers
15 views

Read .nc file with time range

I have a .nc file and I want to split this file for a given time . I have a Var (time,lat,long) I am using read with Range to split my variable. For instance, I need to keep only the last time. ...
3
votes
1answer
74 views

Creation of tiled grid in JAVA with geotols

I am trying to create a grid using GeoTools in JAVA, covering specyfic area with resolution 50 m (distance between two points). To do so I have two points: the most nortwestern (let's call it NW) and ...
1
vote
0answers
105 views

Converting geometry to geography using org.geotools.geometry.jts.JTS

I'm trying to convert com.vividsolutions.jts.geom.Geometry to geography, using the GeoTools package - org.geotools.geometry.jts.JTS. This is my code: public Geometry getGeography() { Geometry geo ...
0
votes
0answers
120 views

How to create a feature class from a DEFeatureClass output parameter

I'm writing a geoprocessing tool with ArcObjects for Java. My tool takes in parameters one feature class (from a layer, a shapefile or a GDB) and others parameters. The parameter in output is a ...
0
votes
0answers
13 views

Convert ECF to Suface ECF

I'm using the 3D Earth WorldWind Model and I have a path that I want my object to travel. I set the the destination and interpolate to the end point from my current location. The problem is using ECF ...
0
votes
0answers
25 views

Is it possible to export MapJ object into TAB file in MapXtreme?

I am trying to open a TAB file having geometry information and bind/join it with JDBC Table having attribute information. Now I have to export the joined table along with map/geometry information from ...
0
votes
0answers
52 views

Obtaining developer kit Eclipse plugin to develop custom toolbox for ArcGIS in Java?

I'm trying to create a custom geoprocessing toolbox for ArcGIS (ArcMap). I've read resources and documentation for days now, but I still wasn't able to get the needed Eclipse Plugin referenced here: ...
0
votes
0answers
46 views

landsat with C# or Java

I have imaged data about landsat8 satellite. These are raster data, i want to process to take out the temperature of each region (geometry). I can do this in postgresql, but i don't want to store the ...
1
vote
1answer
282 views

Add-in installed, but its elements not appearing in ArcMap

I'm creating an Add-in for ArcMap 10.1. When I export file testproject.esriaddin and install (whether double-click or from Customize Mode > Add From File dialog), message of success appears. But ...
0
votes
0answers
103 views

Java GeoTools - Getting CRS from SRID

I might confuse between two things, but I need to do some calculation on my polygons (distance, area etc.). Using the WKBReader, I'm getting the geo: WKBReader wkbReader = new WKBReader(); byte[] a = ...
1
vote
1answer
123 views

Add GIS functionalities to existing java based tool/application

I have a tool/application and want to add GIS functionalities to it. I will be mainly working with the vector data. The required functionalities are: Adding/importing the GPS point data and ...
0
votes
1answer
58 views

How to merge 2 shapefiles in ArcObjects

Using ArcObjects SDK for Java, I have the full path of 2 shapefiles: String in1, String in2, and I want to merge them using the geoprocessing tool Merge. I tried to several methods: ...
1
vote
0answers
101 views

Postgresql JDBC Table Valued Parameters

MSSQL has a great feature called Table Valued Parameters. It allows you to pass a table of a custom data to stored procedures and functions. I was wondering what is the equivalent , if exists, in ...
2
votes
1answer
128 views

pass an array of geometry to postgresql function

I am trying to pass an array of geometry to a postgis function using JDBC with JAVA: CallableStatement proc = conn.prepareCall("{ ? = call somefunc(?) }"); ...
1
vote
2answers
258 views

Getting time dimension from a GRIB file

I have a GRIB file from NOAA that contains several variables for a specific subregion in Norht-East Atlantic. I'm using ECMWF grip-api Python library to parse the file. While I'm able to get the ...
0
votes
0answers
56 views

Transform map coordinates to page coordinate in ArcObjects

I have a map inside a page layout in ArcMap. Currently, I use this code to convert geographic coordinates to page coordinates: IMap map = ... IPageLayout pageLayout = ... IDisplayTransformation ...
1
vote
0answers
111 views

Ohio State Plane to Lat/Lon

I've looked into a few other posts/libraries as far as converting between State Plane (Easting/Northing) to get a Lat/Lon value, however I've run into some trouble. I saw here ...
0
votes
1answer
76 views

How to use Intersect tool in ArcObjects

I'm trying to use the Intersect tool in ArcObjects SDK Java with two feature classes. Here is my code: public void intersectTwoFeatureClasses(Object in1, Object in2, Object out) throws ...
2
votes
1answer
62 views

How to get a map surround as an IElement in ArcObjects?

In an MXD file, I have a page layout and a map with a north arrow, and I need to move it in the page layout programmatically using ArcObjects Java SDK. I managed to get the north arrow map surround ...
0
votes
0answers
43 views

autocomplete polygon function with geotools

i'm using geotools to develop some GIS features, i don't know how to implement the autocomplete polygon function using Java code. does any one tried to do it before?
1
vote
0answers
119 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

Does anyone know if it's possible to run ArcEngine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcEngine 10.2 and Java 7 functions in the same standalone program. (I don't talk about ...
0
votes
0answers
5 views

How to add cross origin filter settings in org.mortbay.jetty? [duplicate]

I am using GeoServer 2.4.0 on Windows 2008 Server. I have installed Geoserver by using windows installer. My problem is I dont know to add cross origin filter settings in Jetty. When I have searched ...
3
votes
1answer
578 views

converting/parsing geojson into com.vividsolutions.jts geometry

Does any has any experience with converting string geojson into com.vividsolutions.jts geometry object (point, polygon, etc). Maybe there is some java library I cannot find. Greets!