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

learn more… | top users | synonyms

0
votes
1answer
121 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
25 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
82 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
58 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
88 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
79 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
21 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
48 views

Develop custom toolbox for ArcGIS in Java- How to get developer kit Eclipse plugin

I'm omw to create a custom geoprocessing toolbox for ArcGIS (ArcMap). I've read ressources and documentation for days now, but I still wasn't able to get the needed Eclipse Plugin referenced here: ...
0
votes
0answers
43 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
192 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
85 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
106 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
47 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
91 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
111 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
193 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
49 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
87 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
0answers
59 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
56 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
40 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
111 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
435 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!
0
votes
0answers
94 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
2answers
123 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 ...
-1
votes
1answer
146 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 ...
3
votes
0answers
257 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
52 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
0answers
297 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
160 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
2answers
103 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
40 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
146 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 ...
-2
votes
1answer
36 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
55 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 ...
1
vote
1answer
102 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
52 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
263 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 ...
0
votes
2answers
265 views

Architecture for java ee application

I´m new to GIS development. I have read about Openlayers, maps servers (i choose Geoserver), geodatabase (in my case i choose PostGis) and theory of gis in general. I´m developing a Java EE ...
0
votes
1answer
180 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 ...
0
votes
3answers
141 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
3answers
145 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 ...
1
vote
2answers
134 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
63 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
46 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 ...
0
votes
0answers
238 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
1answer
485 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...