1

I am fairly green with GeoTools, and having a hard time converting a raster (GridCoverage2D) into a vector format.

In the hours I've spent searching this site and Google, there seems to be multiple ways this could be done: PolygonExtractionProcess, RasterToVectorFactory, RasterToVectorProcess to name a few. However, regardless of what JAR's I reference in my project, I can't seem to find any of these classes.

So, I am hoping someone can tell me the easiest way to perform raster to vector with GeoTools 10.

3
  • did you have any luck with the raster to vector process. Currently, I am trying to do the same, and I run into problems with the class RasterToVectorProcess, which I can not find. perhaps my maven is pointing to the wrong place, but I don't know how to solve it. Any suggestions? <dependency> <groupId>org.geotools</groupId> <artifactId>gt-process</artifactId> <version>12-SNAPSHOT</version> </dependency>
    – user32897
    Commented Jun 26, 2014 at 19:04
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation.
    – Aaron
    Commented Jun 26, 2014 at 19:33
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context.
    – Brad Nesom
    Commented Jun 26, 2014 at 20:09

1 Answer 1

1

If you use maven, the classes and methods mentioned are within the wps package of geotools.

Its a good idea to clone the source from github.

It contains all additional plugins.

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.