An object-oriented cross-platform programming language developed by Sun Microsystems.
0
votes
0answers
27 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 ...
2
votes
0answers
155 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
2answers
280 views
Merging Shapefiles With Geotools
I am trying to merge some shapefiles with different schemas in geotools. Im aware of ogr2ogr, but for now I would like to figure out this problem with Geotools.
The steps I'm taking are:
1) Create a ...
-2
votes
1answer
64 views
How do I set the protocolVersion using the jdbc postgres driver? [closed]
I attempted to concatenate a string to the url parameter of the below in order to set the protocolVersion, but I'm not sure how to keep the string in the url without altering the name of the database, ...
1
vote
1answer
78 views
layers in opentripplanner webapp
I am customizing the opentripplanner webapp according to my needs. it has 5 different base layers. but in code (in map.js and OpenLayersUtils) i can't find where it adds these layers to map.
2
votes
0answers
61 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
2answers
184 views
How to work with GDAL/OGR in Tomcat?
I make web application in Eclipse using GDAL. In Eclipse in Debug Configurations i add variable path=path/to/gdal/folder. In project i add gdal.jar to build path and copy gdal folder in lib directory. ...
0
votes
0answers
21 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
1answer
147 views
What can I use to read MapInfo files in Java?
I want to read MapInfo files using Java.
Before I used geotools for this but now I have problems with the GDAL library in Win7x64. Can i find geotools or gdal only for Java? To it not usede gdal's ...
0
votes
1answer
72 views
Column exists in DatabaseMetaData, but does not exist in relation?
I am using JDBC to query a PostgreSQL database. And I want to populate a column called wiki_url based on the value of another column, level which will determine which value of 5 columns to concatenate ...
0
votes
1answer
184 views
Eclipse can't find Driver.class from postgresql-9.2-1002.jdbc4.jar file nor AbstractJdbc4Connection class
I am using the jar file in my configuration path after following the example from postgresql/jdbc tutorial. But after I added the jar file and configured it for my reference library when I run it I am ...
0
votes
1answer
56 views
Update Service config file with ArcIms java connector
We are using arcims java connector to create, update, delete services. it works fine for create and delete. However when we try to update the config file of service (ie : mxd file) the new mxd file is ...
1
vote
0answers
67 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 ...
0
votes
0answers
16 views
help with building graph from gtfs [duplicate]
Possible Duplicate:
building opentripplaner gtfs.zip
Kindly check the previous question. I posted it again as no one answer the previous one, and i am in great trouble.
building ...
0
votes
1answer
53 views
building opentripplaner gtfs.zip [closed]
I am building a journey planner app using opentripplanner. i have followed their two minutes tutorial in which we just run webapp which uses pre build graph.obj file, it works fine.
But in next five ...
0
votes
0answers
11 views
help with setting up opentripplanner [duplicate]
Possible Duplicate:
Help with opentripplanner
kindly see my previous post (i also added comment there but no one replies so i again ask the question)
Help with opentripplanner
now i have ...
0
votes
0answers
49 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 ...
1
vote
1answer
66 views
Having trouble setting up Eclipse for ArcGIS 10.0 Java development
I'm trying to setup Eclipse for ArcGIS development. I've been reading for days and weeks through the documentation and through the forums here and elsewhere. It seems that no one has this same ...
2
votes
0answers
29 views
How to convert a shapefile to WKT with GeoTools snapshot 9? [duplicate]
Possible Duplicate:
Write out a WKT file from a loaded shapefile
I need to convert a shapefile to WKT to be read in OpenLayers. The shapefile is one that has been created by Geotools. ...
2
votes
2answers
157 views
How do you create a button in ArcGIS and have it run code?
I'm brand new to ArcGIS and have only a year or two of programming experience. I know Java and a little C#. I have a Java app that processes geographical data. I need to have a button in ArcMap that, ...
2
votes
4answers
154 views
What GIS tools and packages are needed to find out nearby users in android application?
I'm building a location based android application with following requirements:
Need to find out nearby users(i.e users using the same application)
Need to find out users in the state
Need to find ...
3
votes
1answer
75 views
Problem installing ArcSDE engine plugin for Eclipse
I'm looking for the following jars for the ArcSDE API:
jsde_sdk.jar
jpe_sdk.jar
concurrent.jar
icu4_3_2.jar
thanks to this answer I've found that they can be gotten installing the ArcSDE engine ...
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"
...
2
votes
1answer
119 views
What is the best API to use GeoTools or uDig (for the context of my application)?
I am trying to develop a java application that displays : Google maps, Openstreetmap and Bing Map Data.
So which is the best SDK to use in this contet Geotools or uDig ?
0
votes
0answers
11 views
What are the drawbacks of using WWJava? [duplicate]
Possible Duplicate:
Displaying Google Maps and OpenStreetMap map in Java?
I am looking for a good library similar to OpenLayers in Java. I would like to use it to diplauy OSM and Google ...
2
votes
3answers
499 views
Displaying Google Maps and OpenStreetMap map in Java?
Is there any Java API that is like OpenLayers ?
I would like to display google Maps and Openlayers Maps in a java application
2
votes
1answer
286 views
Java client for WFS-T?
I have a geoserver with a postgis database on one server and an Java application on a different server.
Now I need to connect these two servers so that the Java application can manage (create, alter ...
3
votes
1answer
204 views
OSS java approach to convert Shapefile to GML
We've got a project coming up where we need to upload .zip of a shapefile, join the .dbf to some lookup tables, join to other tables also uploaded (one to many attributes for each feature), and ...
3
votes
0answers
146 views
How to sort a SimpleFeatureCollection using GeoTools?
I have a featurecollection:
SimpleFeatureBuilder featureBuilder = new SimpleFeatureBuilder(dbFeatureType);
SimpleFeatureCollection collection = FeatureCollections.newCollection();
while ...
2
votes
1answer
320 views
Regarding property setMinScale(scale) and setMaxScale(scale) in ArcGIS Java script API
I am new to programming in JSAPI.
I have two dynamic layers and I want to set the property setMinScale(scale) and setMaxScale(scale) to layers so how do I Set ?
ex. I tried using ...
5
votes
1answer
231 views
What is the best practice for reading data from a raster band with Java and GDAL?
After using GDAL with Python for a year or so now, I'm getting back into Java and trying to figure out how to use GDAL with it. I am wondering if anyone has had experience with reading data from a ...
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 ...
5
votes
1answer
327 views
Find Perpendicular Distance and Minimum Perpendicular Vector between a Point and a Line using GeoTools and JTS
I have a line formed by 2 lat/lon pairs, and the lat/lon of a point. I would like to find out the perpendicular distance between the line and the point on the Earth surface (can assume Earth as great ...
2
votes
1answer
96 views
Java or .net platform is good for creating interactive web page [closed]
I have just now completed my degree in Spatial Information Technology, and learned how to use the ARCGIS platform and QGIS. Now I wanted to create a server/client webpage using mapserver for a project ...
0
votes
1answer
257 views
How current is GDAL in Java
I have used the ogr2ogr to import various formats to Postgres and have used GDAL utilities. Is there a complete Java port for these tools? Or are they simply wrappers calling JNI to C++ code? I have ...
1
vote
0answers
109 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
3answers
611 views
how to extract lat long from WKT data?
i want to extract lat long form WKT data and stores into arary list i have tried one solution which is proposed by a user but it has some problems
String str = tv.getText().toString();
str = ...
1
vote
0answers
79 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
142 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.
6
votes
2answers
175 views
Is it good practice to manage all JTS spatial objects as abstract Geometry instances?
I'm new to all this GIS business, and am developing a Java web app using the JTS library. I'm trying to get my head around the JTS classes and how they're supposed to be used.
I have some existing ...
1
vote
3answers
166 views
choose of java web framework for our project
We are developing java web gis application.
We use geoserver, postgis, geotools(all the core code).
We need to show/hide(or create/delete) dynamically vector layers(from shape file) and raster ...
2
votes
0answers
67 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"
...
0
votes
2answers
107 views
dijkstra_sp runs without error in postgres query terminal, but triggers an error in Java
I am running this simple query
select id,gid from dijkstra_sp('roads',22,33)
This works perfectly fine and returns results in postgres query terminal. However running exactly the same query in java ...
1
vote
1answer
663 views
GeoToolKit conversion from lat/long to UTM
What is the proper way to convert lat/longs to a UTM coordinate system using the Java geotoolkit API? I have not worked with GIS software before, so maybe what I am trying to do is not directly ...
2
votes
1answer
92 views
Can I use a Geotools raster layer in a Geomajas webapplication?
I am working on a Geomajas web application and have a Geotools RasterLayer (a GridReaderLayer to be precise) that needs to be integrated with the map in the Geomajas app.
I have been searching the ...
0
votes
0answers
82 views
Help for library(Jar) file installation in java development using Geotools [closed]
I am following this link http://docs.geotools.org/latest/userguide/tutorial/quickstart/eclipse.html for developing java based GIS application using Geotools. I am not able to do Adding JAR file in ...
1
vote
0answers
104 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 ...
4
votes
1answer
194 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 ...
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 ...
