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

learn more… | top users | synonyms

0
votes
1answer
42 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
76 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 ...
1
vote
0answers
64 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 ...
2
votes
1answer
75 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(?) }"); ...
0
votes
0answers
171 views

Successfully extracting values from a GRIB2 file…is it possible?

Let me say first that I'm starting to work with GRIB2 files, I've read the docs, and more or less know how they are structured. My goal is to be able to parse some GRIB2 files from NOAA, more ...
1
vote
2answers
125 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 ...
1
vote
2answers
1k views

Getting exceptions with simple hello worldwind java app

Let me preface this by saying I'm very new to Java, eclipse and worldwind. So, I've got a bare bones java app. I imported worldwind.jar into the build path. Created a simple JFrame, code below, and ...
0
votes
0answers
34 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
1answer
133 views

using geocoder of opentripplanner

I am developing a webapp using opentripplanner. I have followed 2 and five minute tutorials at their websites, there is also a opentripplaner-geocoder.war webapp, but i am unable to figure out that ...
4
votes
2answers
5k views

Geoserver/java out of heap space - how do I increase it?

I'm new to Geoserver, Ubuntu and Java, but have downloaded a virtual machine from gisvm.com and am getting up to speed. I got as far as configuring it with some fairly large shapefiles from a project ...
0
votes
0answers
40 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
41 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
35 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
78 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 ...
-1
votes
1answer
103 views

how to use MBTiles4J

I got a MBTiles Server written in Java here. https://github.com/jtreml/mbtiles4j I am new to java. Can anybody briefly discuss how it works. I want to create an eclipse project with this. Specially ...
1
vote
1answer
201 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!
1
vote
1answer
41 views

How to create a value-by-alpha map in Java?

Someone has post similar question as mine before : similar question But my objective is slightly different. I have a shape file (.shp) (a country map) I would like to write a piece of java code to ...
2
votes
2answers
95 views

Are there any web services providing country border data?

I am an Android developer (working in Java) and want to write a geographical quiz game. The quiz will need a list of countries and will randomly choose one to highlight on a map (probably using Google ...
0
votes
0answers
74 views

Nearest road in the vicinity of a point without queries (openstreetmap)

I know that many similar questions about map fitting have been asked. Everywhere there were answers about sql queries like this: SELECT ST_AsText (ST_ClosestPoint (pt, line)) AS cp_pt_line, ...
2
votes
1answer
421 views

Lambert93 to WGS84, IGN algorithms, longitude problem

I'm looking for a Java-based solution to convert coordinates from Lambert93 to WGS84. I found this, "lambert-java", which is an implementation of the algorithms (PDF) published by IGN (French ...
0
votes
3answers
282 views

REST backend framework for routing?

I'm looking for a framework in Java or PHP to use it as backend for a mobile application. It should (if possible) implement REST services, geo functions for routing and CRUD services. I found the ...
2
votes
1answer
140 views

geotools parsing kml with multigeometry only gives me first geometry

I'm trying to parse the states.kml file (http://docs.geotools.org/latest/userguide/_downloads/states.kml) on the geotools website using the following code: Parser parser = new Parser(new ...
0
votes
0answers
282 views

How to list the ISO 3166 countries with java.util.Locale?

Our IT system should list all the countries in the world and when I fetch it from the system it becomes 249 names but the newest country South Sudan ("SS") is not in the list, so I wonder what the ...
3
votes
0answers
192 views

Convert land-based camera image pixel x,y to ground lat/long or x,y,z

I have a number of cameras at various known locations (x,y,z) and directions that are above ground about 20 feet pointed at different ground locations about 100 feet away from each camera, and whose ...
1
vote
0answers
45 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...
0
votes
2answers
105 views

How can I get the map data frame fill the page layout (ArcObjects java)

I need to export a map for several extents (typically states or regions of a country) to PDF. I have a MXD document that I open in an ArcObject console program.I manage to set the PageLayout to A2 ...
0
votes
0answers
244 views

Java + GMaps JSF + PostGis + JasonSanford / geojson-google-maps

Guys want to test how to plot lines and points in google maps using Java + JSF + PostGIS + GMaps JasonSanford / GeoJSON-google-maps. First have a spaceport in postgis with a table of rows and other ...
0
votes
2answers
86 views

How to get the current map from a geoprocessing tool execute function?

I'm making a geoprocessing tool with the ArcObjects SDK Java 10.2. I need to modify labeling colors of a layer of the current map. Is it possible from the execute function to access the map currently ...
1
vote
0answers
28 views

alternative to mapClickEvent

I use gwt-openlayers lib in my GWT app. I have added a drawFeature control and now I want to show a radius of circle while I draw a feature. Now it looks like this: ...
1
vote
0answers
116 views

Any good open source GIS library or API for Mobile [closed]

I am looking for GIS library for tracking on mobile application similar to ESRI mobile library but should be open source and freely customizable preferable java base. I am making Android app which ...
4
votes
7answers
4k views

How to get started on web GIS development with Java?

I am very new for GIS, I know java web development. I want to develop a GIS web application in Struts, can you suggest me how to start? My requirement are as - Any API/Tool should be open source. ...
1
vote
1answer
57 views

Does charactermarkersymbol work differently in linux?

I have just started working in GIS. i am trying to project an aeroplane glyph font (character index=111) using charactermarkersymbol but unable to do it in linux. I am getting the same spherical ...
-2
votes
1answer
35 views

Good place for starters to develop ArcGIS map [closed]

I am new to ArcGis 10.2. I want to develop a java application which displays map. Please guide me , where to start looking thanks
1
vote
1answer
84 views

How can I use the proj string in java code?

I want to do projection from UTM/oblique mercator CRS to WGS84. And I know the solution to use a proj.4 string in commandline like+proj=omerc +lat_0=51.4 +lonc=7 +alpha=-10 +k=1 +x_0=0 +y_0=0 +gamma=0 ...
0
votes
0answers
50 views

How to Add North Arrow, Scale to ArcIMS Map JAVA?

I am new to ArcIMS , currently i am working on integrating maps to Existing java application. I got a requirement from my lead , He asked me to add NorthArrow, Map Scale to the map. I am using ArcIMS ...
0
votes
0answers
208 views

Draw postgis geometries in google maps api

Postgis have a base with a table of data lines and other points. I'm doing a java applet to query these tables and space to draw on google maps. My question is: what better way to spend these ...
5
votes
2answers
135 views

How to order points of a polygon?

I want to create a polygon, which represents the administrative boundary of a city. It is specified by a relation, which consists of ways <member type="way" ref="25657490" role="outer"/> ...
0
votes
1answer
124 views

Extract specific amenity Osmosis with Java api

I need to extract restaurants from a planet.osm.pbf file. I assume the best way to do this is with Osmosis, however I need to save this data in my own database format. (Not something standard like ...
1
vote
3answers
124 views

How to create a multi-colored raster image based on long,latt,color information?

I want to create a multi-colored raster layer to overlay on my map in OpenLayers I have the following information in my DataBase: D_Cell_ID Long Lat ColorCode 055113 ...
0
votes
3answers
121 views

Get “approximate” lat/long coordinate for UTM grid zone

I have data assigned with a UTM grid zone designators, such as 10S for example. Now I need an approximate latitude/longitude pair, preferably the center point of the given grid zone. Can you give me ...
1
vote
2answers
106 views

Generating Values in the Attribute Table

In the attribute table within GIS, I have a certain column with ascending values, and I want to assign ID numbers (for easier readability and display) to a corresponding column. So for instance: Feet ...
3
votes
1answer
59 views

Use selected value in postgis function

How can I use the selected value from a SELECT statement in a PostGIS function. e.g. using the geom_way from SELECT geom_way FROM osm_2po_4pgr ORDER BY ST_Distance(ST_GeomFromText('POINT(21.323329 ...
1
vote
1answer
43 views

how to retrieve ATMs List from OSM

I am using this command to get the ATMs list osmosis --read-xml my_map.osm --tf accept-nodes amenity=atm --write-xml output-nodes.osm But it is giving the list of nodes and ways also...I want only ...
5
votes
1answer
399 views

What is the unit of measurement for buffer calculation?

What is the unit of measurement used by Geometry class for it's buffer calculation ? Api doc currently defines it as " distance - the width of the buffer (may be positive, negative or 0)" I need to ...
1
vote
2answers
271 views

Offline entire planet in Java Desktop app

Sorry if this question has already been asked, but I need your help. In program that we are developing we need to integrate maps. Here are the requirements that are put for integration: Maps should ...
1
vote
1answer
63 views

Redcap Shapefile Error

For some reason I am unable to import shape files in the form of point data to REDCAP. Do these data points need projected coordinate systems? I am aware that the sample size is 500 when double ...
0
votes
0answers
88 views

configure mozswing in Java

I'm using OpenLayers - 2.11,GeoServer 2.13, ExtJS 3.4, and Java for developing GIS based web applications. My web map application is loading through "mozSwimg" in Java. While running application i'm ...
0
votes
1answer
114 views

Filter Vector Layer Features

I'm using OpenLayers - 2.11,GeoServer 2.13, ExtJS 3.4, and Java for developing GIS based web applications. I have added some point features in one vector layer. It has id, name, address, etc. Can I ...
0
votes
0answers
22 views

Hotlinking Images using PickListener(MOJO)

I have a class class MyPickAdapter implements PickListener { public void beginPick(PickEvent pe) {} public void endPick(PickEvent pe) {} public void foundData(PickEvent pe) { } }; ...