5

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!)

1 Answer 1

4

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!)

2
  • 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
    Commented Jan 30, 2011 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
    Commented Feb 1, 2011 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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