I am new to GIS.

From what I understand a GIS layer has one or more features (of some geometric shape like Point, Multipoint, Linestring, Multi linestring, Polygon, Multi polygon and so on). I have such a layer exported in a geojson as


What is wish to do is merge some overlapping features and make them as one. Say merge two overlapping polygons and make them as one polygon feature.

Are there any libraries/apis in Java to help me do the merging part?

I have exported this layer using the NextGIS android app.

  • I think you are looking to dissolve not merge. Merge is simply combining one to many different (like geometry) GIS layers into one. Dissolve merges/combines overlapping features within the same layer. – artwork21 Apr 18 '17 at 12:40

This question has been asked before.

Basically, the big library is the JTS Topology Suite.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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