Select to view content in your preferred language

Time Aware dynamic layer using PostGIS data

2999
1
Jump to solution
10-21-2013 07:52 AM
JeremieJoalland1
Deactivated User
I am trying to use a Time-Aware Dynamic Layer with my own Map Package based on data from PostgreSQL/PostGIS local database.

First I tried to re-used time-aware sample "LocalTimeAwareApp" with my own Map Package, by :
  - creating a File Geodatabase with import of shapefile with "start" & "stop" (datetime) fields
  - preparing a MXD document with configuration of the layer "Time" properties correctly : TimeSlider is working fine
  - sharing my map as Map Package with option "reference all data" checked, so my application will still dynamically access the data from File Geodatabase.
  - running the sample "LocalTimeAwareApp" application, based on my Map Package : it works ! I just needed to adapt the Time Extent of the JTimeSlider.

Now, I need to do the same with PostGIS data :
  - I have a PostgreSQL 9.0.14 / PostGIS 2.0.3 database (I will test 9.2.5/2.0.4 soon...)
  - I've copied the PostgreSQL Client libraries to ArcGIS Desktop bin folder in order to connect to PostgreSQL Database.
  - I'm able to create a MXD document with a PostGIS spatial table (POINTS) with same "start" & "stop" (TimeStamp) fields
  - With same configuration than 1st test, I'm able to play with the TimeSlider
  - I also share the map as Map Package with "reference all data" checked"
  - My Issue, when testing the TimeAware application with this Map Package :
       => nothing is displayed on the map... and nothing happened when using the JTimeSlider... !

Has anyone tried to display PostGIS data with ArcGIS Runtime for Java ?

Has anyone tried to perform Time Aware display with Map Package with "reference all data" option ?
0 Kudos
1 Solution

Accepted Solutions
GayleYoung
Esri Contributor
Hi,
I haven't tired this yet, but you will need to copy either the 32 bit or 64 bit PostgreSQL client libraries into  <sdk_install_location>\ArcGIS SDKs\java10.2\arcgisruntime10.2\LocalServer32\bin or LocalServer64\bin respectively.
Gayle.

View solution in original post

0 Kudos
1 Reply
GayleYoung
Esri Contributor
Hi,
I haven't tired this yet, but you will need to copy either the 32 bit or 64 bit PostgreSQL client libraries into  <sdk_install_location>\ArcGIS SDKs\java10.2\arcgisruntime10.2\LocalServer32\bin or LocalServer64\bin respectively.
Gayle.
0 Kudos