Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to create a Desktop project on Java which shows radiation dispersion. How can i Link java with QGIS?

Is there any tutorial site i can get reference from?

share|improve this question
add comment

2 Answers 2

QGIS is written in C++ and there are Python bindings. So you can develop your own applications using those languages. You cannot use Java.

The documentation is linked very prominently on http://qgis.org.

share|improve this answer
    
it could be used with Qt ? –  geogeek Mar 2 '13 at 16:32
1  
Yes C++ Qt and PyQt. –  underdark Mar 2 '13 at 20:42
add comment

For my opinion, it is still possible to link QGIS and Java by using C++ wrapper around your Java. Here is one link that explains how to do it: http://stackoverflow.com/questions/4536596/tool-to-generate-c-wrapper-over-java-class

However, it would be more reasonable to use PostGIS or UDig with Java.

PostGIS is similar in its functionality to ArcSever. Yet, PostGIS is open source. It comes with bundle with PostgreSQL (which is also open source). PostGreSQL is a database management system and PostGIS provides API for operation with GIS data on PostgreSQL. If you use PostGIS, you also have to connect it to some UI. PostGIS can export data in many formats. Here is the link for PostGIS: http://postgis.refractions.net/

PostGIS API can be used with many languages including Java. Here is the documentation: http://postgis.refractions.net/documentation/javadoc/overview-summary.html

For UI, you can use uDig. It is a product similar to ArcGIS and is written in Java and it is open source. Here is the link for Udig: http://udig.refractions.net/ Actually, you can use uDig for all the tasks that you need. Usage of PostGIS is an overshoot for your needs.

share|improve this answer
    
According to github.com/postgis/postgis, PostGIS is 90 % C. –  underdark Mar 2 '13 at 23:47
    
also worth noting is gvSig - completely in java –  vinayan Mar 3 '13 at 0:51
    
Yep, sorry about my previous text that PostGIS is written in Java. I meant to say that Java can be used to run any functionality of PostGIS. It has an API for many programming languages. –  cloud_traveler Mar 3 '13 at 3:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.