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've installed geotools through maven (and m2ecplise) but i'm not able to add opencarto library to my project. (As you can guess, I'm new to java)

I tried by adding opencarto's main folder as library through the Project panel, but still, maven is not proposing me opencarto as dependency when I try to find it.

Any idea of what i'm doing wrong?

(this is probably a question for you Julien. I sent you a mail through sourceforge. I'm not sure you got it ... anyway, it's a good thing to make noise around opencarto since it seems very interesting!)

Thank you

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Maven can only handle libraries that are deployed on a maven repository, and Opencarto is not deployed anywhere, so you cannot get it with maven. To use it, you may use one of these methods:

  1. you download an opencarto jar from there and include it in your eclipse project (you also need jts, xstream and xpp3_min)

  2. you checkout the snapshot version of opencarto from the SVN as a new eclipse project, and add this project to your project's build path.

Good luck! (and thanks for using my lib - you are the first!)

share|improve this answer
    
Hi Julien,Thanks to you. I try to handle all that new stuff the coming week. By the way, do I need geotools to manipulate shapefiles or is there another lighter alternative? –  simo Jan 30 '11 at 19:51
    
Hi! I understood better the way geotools works. Opencarto, is just perfect! Basically, when I asked for the smallest MBR in my other post, it was to perform the first step of Duchene & al algorithm to calculate the general orientation. When I saw that opencarto was doing it I was looking forward to see the result ... I'm quite happy ;-) Thanks again for developing that fantastic lib. –  simo Feb 1 '11 at 21:52

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.