I require some geographical features in my package:

  • Is this (lat, lon) point inside a polygon (geojson)?
  • Create a buffer around a line.
  • Production of a geojson from the intersection of two polygons.

I'm using geotrellis but the learning curve is steep. I'm not sure if it is difficult for me because my lack of good foundations in geographical systems or because there are another library which could help me to do this less complicated (Geotrellis looks very powerful, it's just me).


You might want to look at the GeoTools Java library for those operations.

  1. Point in Polygon
  2. Buffer a line
  3. Generate GeoJSON
  • Thanks @iian-turton. Very late but I'm just checking your suggestions... my employer priorities changed until now. Feb 25 '20 at 16:04

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.