Posts Tagged ‘GIS’
A talk I gave recently in Greek FOSS Community Conference held at NTU Athens.
A recap of open source existing technologies and OPEN MI model integration framework.
I have a project with overwhelming budget for GIS and civil protection.
A sub project is a pda GIS system with the ability to export files into
shapefile format, so that could be loaded automatically into an Oracle
Spatial database, over an ArcSDE server. The thing is, that the only
reliable software is ArcPad that I hate both it’s functionality and the
bitter license cost.
From what I am aware of, no open source software with similar
functionality exists. So I have decided to start such an application
under Apache 2.0 license using the google maps API on the Android
Console. Android has grown, to be my favorite mobile framework and
google maps API offers out-of-the-box functionality such as
- Coordinates transformation (Here in Greece we need ΕΓΣΑ 87).
- Map visualization with raster support.
- Polygons poly lines and point capture.
- Any kind of API integration. In our case I will use Oracle’s
Shapefile import/export library. Currently a part of the MapBuilder
Any contributors are welcome. Project will be hosted on google code. Stay tuned for further news.
GIS systems these days are vital components of various mission critical applications no doubt about it. In Greece there are some major GIS and mapping projects in the public sector like “ktimatologio”, GIS OTA and agriculture land GIS mapping to name a few.
Recently, I was involved in such a large scale project with the Greek Ministry of Agriculture. The main problem is that although Oracle offers a pretty much self consistent Spatial Database distribution there is no configuration tool to create new maps easy import georaster images, apply associations to them and generally provide functionality like ESRI ArcMap simply the state of the art desktop GIS applications for this job.
The solution proposed involved a swing GUI that parsed ESRI shapefiles and imported these files in the database. However there is a problem with Oracle’s script as it does not handle localization in the corresponding sql loader control file.
The solution to this problem is simple and is carried out by simply adding the correct localization directives in the loader control file. Namely these line below for Greek ASCII encoding.
If you want to implement a similar solution for your localization and do not know where to find your Oralce correct NLS LANG directive just go here to find out.
The hole scripting procedure is below
- cmd>shp2sdo.exe shapefile_name shapefile_table_name -g geom -d -x (-180,180) -y (-90,90) -s 8307 -t 0.5 -vspatial [Most of the times shapefile_name would be the same with shapefile_table_name]
- cmd>sqlplus name/passwd @shapefile_name.sql
- Add the NLS encoding to the generated sql loader control file as described above.
- run Oracle sql loader cmd>sqlldr name/passwd control shapefile_name.ctl [sql loader is not default installation with oracle client tools you should have a database installation or run oracle wizard again and explicitly ask it to install sql loader]
Now that I reconsider, I should come back with a post on open source GIS solutions based on PostGres, Google Maps, Google Geocoder and GIS Server. An infrastructure I implemented in a project some months ago.