An object-oriented cross-platform programming language developed by Sun Microsystems.
3
votes
0answers
73 views
Illegal argument exception while reading tiff image using GeoTools
I am working on a Java swings based GIS application to project my tiff image as maps . But each time I run my application I get Illegal argument: "semiMajorAxis=�" . The tiff images I have are working ...
3
votes
0answers
140 views
How to sort a SimpleFeatureCollection using GeoTools?
I have a featurecollection:
SimpleFeatureBuilder featureBuilder = new SimpleFeatureBuilder(dbFeatureType);
SimpleFeatureCollection collection = FeatureCollections.newCollection();
while ...
3
votes
0answers
204 views
ArcObjects - WFS:
Hy,
has anybody an example concerning accessing data from a WFS server by using the DataInteropability in ArcObjects?
I'm getting the right field definistion, but don't know how to read the data.
...
2
votes
0answers
57 views
How to start developing with Jeppesen C-MAP?
I've just downloaded all the contents from the FTP of Jeppesen for their product called C-MAP CM93.
I've been reading the documentation contained in the SDK folders, but I can't figure out how to ...
2
votes
0answers
230 views
Hibernate Spatial 4 and Postgis 2.0
I'm having some issues integratings this technologies:
Hibernate Spatial 4.0-M1
Postgis 2.0.2 (with compiled jdbc 2.0.2)
Hibernate 4.1.1
The specific error is:
Caused by: ...
2
votes
0answers
153 views
How to open image file saved with JAI in Geotools?
I need to find NDVI and other vegetation indices and then find changes in time with tif images.
I've been using Geotools for this. I took 2 tiff images, then using QGIS I changed them to PNG because ...
2
votes
0answers
60 views
Basic unit testing for ArcGIS 10.0 Java Add-in
I've been assigned the task of translating an old ArcGIS VBA script into a Java add-in. I finished the rough translation of the code, now I'm starting the debug process. The first unit test I want to ...
2
votes
0answers
190 views
Convert Lat/Long to UTM specifying which zone to use (Java)
I have a set of coordinates in decimal degrees spread across two UTM zones in my Java application that I want to export to use in Petrel, so they need to be in the same UTM zone.
Is there a java ...
2
votes
0answers
66 views
MultiPolygon from database
I would like to know how to create an instance of a Multipoint from a PostGIS database..
I do the query , then got the ResultSet named "area" , the column with MultiPolygon attributes is named "geom"
...
2
votes
0answers
114 views
Rerendering OpenLayers in JSF2
did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events,
I mark the render atribute with render="map" where map is naturally the id
of the openlayers div tag, and I use ...
2
votes
0answers
206 views
web service to find the shortest path
if you have any idea that can help me I would be grateful :):)
So i should create a web service wich will communicate with my android application .in my android app the client choose two point start ...
2
votes
0answers
169 views
Tile Mill, Processing.org Maps to be developed
I had a small question. I actually would like to build an application which is very similar to this but as a map and not on “Multi touch Table Top”.
The functionality I need is
Plot different ...
2
votes
0answers
131 views
How to get a AddIn to appear in customize mode categories?
I was hoping that someone here might have tried this, it seems like it could be a simple error somewhere. I was running the sample AddIn that was provided by ESRI and it worked fine until I tried to ...
2
votes
0answers
222 views
ArcObjects: How to get a reference to layer in a java add in
I am trying to implement a java add-in version of this solution:
unique value symbolize layers from a lookup table.
At the same time I want to start coding in Java for the ArcGIS Desktop, so I am ...
1
vote
0answers
43 views
How to use Advanced Symbology in ArcGIS for Android?
I try to use the advanced symbology in order to draw nato symbols in JAVA
I need little help about it,
What the parameters _WKID mean like in this command : lmessage.setProperty("_WKID", "3857");
...
1
vote
0answers
40 views
How can I call gdal_translate from Java code?
How can I execute gdal_translate in Java? For example, will something like this work?
gdal_translate "PG:host=localhost dbname='xyzy' schema=public' table='xyz'" "d:\xyx\ab.tiff"
1
vote
0answers
55 views
retrieve some info from GRIB2 file with JAVA
I've just started parsing some info inside GRIB2 file with NOAA weather forecast, and I am realizing this task is not as easy as I could think 'a priori'. I need to process some info inside JAVA ...
1
vote
0answers
44 views
Making tracking data available to Geoserver
I have tracking data from GPS, which gives latitude, longitude, heading, etc.
Right now it's stored in a non-standard database (Accumulo) and I'm looking into how best to make the data available for ...
1
vote
0answers
130 views
Geotools, output to kml and convert meters
I have a complex problem. I'm using geotools 10.*
I have input data:
latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right).
I need ...
1
vote
0answers
64 views
Renaming Columns in Geotools FeatureType
I am attempting to build a simple java program that loads shapefiles into a Postgis 2.0 database. Everything is working out great except that I would like to be able to modify the FeatureType in the ...
1
vote
0answers
26 views
When a raster is described in general as either a double or an integer how do conversions work for that type
I know a raster format is essentially a grid of cell values that may have values associated with color, but I'm unsure of how the primitive types factor into the format. In addition if I need to write ...
1
vote
0answers
36 views
ArcGIS Server 10.0 Java - Upgrading JAI
I am developing a SOE for ArcGIS Server 10 SP 5 in Java. The SOE makes use of some GeoTools functionality - specifically the HeatmapProcess.
I have written a small api (with all GeoTools, no ...
1
vote
0answers
64 views
General Transit Feed Specification help
I am doing a project in which i am required to create GTFS. I look at transit google developer forum which provide a format to create feed but that completely have to done by hand (we have to write ...
1
vote
0answers
107 views
When I try to do a WMS request to geoserver using the leaflet API I am getting a format related error
This XML file does not appear to have any style information associated with it. The
document tree is shown below.
<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
1
vote
0answers
103 views
Getting DataStore Problem with Geotools
I recently found an issue with Geotools and getting the datastore for a shapefile.
If I try:
FileDataStore dataStore = FileDataStoreFinder.getDataStore(file);
-or-
Map connect = new HashMap();
...
1
vote
0answers
78 views
Esri ArcGIS plot point
I have created a java function to plot the points on the map, and I need to pass the x-y coordinates and the taskevent as the parameters. I would like to ask what should be the input parameter for ...
1
vote
0answers
140 views
Convert GPS coordinates to EPSG:54004
I need to convert GPS coordinates to EPSG:54004 on android. Are there any libraries or formulas to acomplish the task? Thanks in advance.
1
vote
0answers
103 views
Applying colormap to grayscale tiff image using java
I have a gray scale tiff image.Now i want to add some pseudo colors i.e for pixels whose DN from 0-140, red color;DN from 141-255 ,blue color.Please tell me how to modify the raster table.Otherwise if ...
1
vote
0answers
267 views
Create a color scale/legend for choropleth map using geotools (or other open source Java library)?
I'm experimenting with choropleth maps using geotools.
Is there an easy way to add a color scale to the map (using geotools itself or some other os library)? By a color scale I mean a bar that shows ...
1
vote
0answers
206 views
how do you create an editable combobox addin for ArciGIS using Eclipse
Arc have a walkthrough to take you through this. Looks like I'm still crawling. The walkthrough can be found here:
...
1
vote
0answers
76 views
Get centroid of SimpleFeatures in GeoTools8
I've got some SimpleFeatureCollections and now I want to get the Centroid of every SimpleFeature in the collection.
Unfortunally I've only found a centroid method for Geometry.
Is there any way to ...
1
vote
0answers
263 views
Argument is not a com object : null
With ArcEngine 9.3.1 in java (but I suppose, it's the same in .NET), I'm developping an application which loads a mxd file. This file contains about 20 layers with shapefile, JPG's, TIFF's files. This ...
0
votes
0answers
25 views
How to modify the coordinates of a SHP geometry using Geotools?
I have a shapefile with some polygons. I would like to change the height for this elements using Java. The rest of the attributes should be the same. I've thought using GeoTools but I haven't found ...
0
votes
0answers
11 views
which jar file contain net.opengis.wps.x100 and how can I download it?
I want to develope a wps process by 52 north and I shoud use org.n52.wps.server.AbstractSelfDescribingAlgorithm so this class is inherit from net.opengis.wps.x100.ProcessDescriptionType. My question ...
0
votes
0answers
41 views
DISPLAY SPATIAL DATA USING JDBC ON A JFRAME
I am trying to catch sdo geometries in a jframe of java by converting them into jgeometry.
So I just want to draw them out in a frame. It then uses some class in the sdovis.jar library (the rendering ...
0
votes
0answers
61 views
java.sql.SQLException: ORA-13226: interface not supported without a spatial index
I have created a spatial index on the column name and yet, I get an
java.sql.SQLException: ORA-13226: interface not supported without a spatial index
ORA-06512: at "MDSYS.MD", line 1723
...
0
votes
0answers
19 views
How to access the USGS Small Scale Shaded Relief from a client application?
I am writing a Java client application that needs to make use of USGS Small Scale Shaded Relief images served as tiles.
The supported interfaces are REST SOAP WMS as described at the bottom of that ...
0
votes
0answers
25 views
View attributes on combobox in openJump
am trying to code a java class(plugin) that creates a popupmenuitem that brings multiple attributes of the selected layer on a combobox on openjump.
am trying now to do the same as the ...
0
votes
0answers
44 views
Insertion Operation While Trying to Connect gvSIG with SQL SERVER
I am trying to create the insertion method in SQL SERVER using gvSIG and Eclipse, but am getting this error, here's the log ( I think the getinsertFeature gets an empty charsetname):
Exception in ...
0
votes
0answers
59 views
How to convert ISO 6709 cordinates?
I would like to convert ISO 6709 coordiantes to string ?
For example
Latitude: 1002.0672 N
Longitude : 07624.1767 E
Can you provide Java function ?
I go through it , but didn't get the answer..
0
votes
0answers
14 views
location name judger
I am making a project which requires me to find out if a particular word in a sentence is the name of a city/state/country/any location basically.
Can you please help me with some app/ a database.
0
votes
0answers
28 views
Segmentize a linestring in java
Is there a java function that takes a linestring (com.vividsolutions.jts.geom.LineString) and a number of segment and returns all the point of the new segments. The goal is to simulate several points ...
0
votes
0answers
39 views
Making ArcObjects Java application independent of eclipse
I have a ready Java + ArcObjects application.
Inside I create, delete folders in the "bin" directory of the project.
There are two folders "input" & "output" without which the application will ...
0
votes
0answers
26 views
Udig Compatibility with eclipse 3.2
I have an eclipse 3.2 RCP application wich use arcims and kogis api/plugins to display and query arcims server. I will have to change map tools for open source tools.
so, I would like to know wich ...
0
votes
0answers
12 views
change the graph location in opentripplaner-api-web.war
I am using opentripplanner to deploy the app in tomcat i have to change the graph.obj location, but doesn't know I can achieve this. I read the "configuring the webapp" but failed to understand the ...
0
votes
0answers
20 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 ...
0
votes
0answers
48 views
Help with opentripplanner
I have started working with opentripplanner (i am developing a journey planner app). I am following the two & five minute tutorial given on opentripplanner website.
but while starting server using ...
0
votes
0answers
168 views
STRUCT object instantiated by GeoTools geometry converter breaks SQL prepared statement on Oracle 11G
Oracle 10.2.0.5.0 and 11.2.0.3.0 (the former works, the latter does not)
Java runtime 1.6.0_32
GlassFish 3.1.2 (running on Windows 7 desktop)
GeoTools 2.7.5 and 8.0 RC2 (makes no difference to the ...
0
votes
0answers
54 views
Adding ArcCatalog Root Object in Java
I've been trying to add a new root object in ArcCatalog using ArcObjects and the java library. I've created my own class that implements IGxObject, IGxObjectContainer2, and IGxObjectUI. In the ...
0
votes
0answers
294 views
How to convert map coordinates to lat long values in Lambert projection with WGS84 datum using Java?
I want to convert map coordinates values to latitude,longitude values. The image is in Lambert Conformal Conic projection with WGS84 datum, WGS84 ellipsoid. Please suggest to me the formulas involved. ...

