GeoLatte / geolatte-geom

A geometry model that conforms to the OGC Simple Features for SQL specification.
Other
132 stars 63 forks source link

Error in the documentation of README for the constructor of type Point #167

Closed opticSquid closed 7 months ago

opticSquid commented 7 months ago

In the README Section of this repository there is a section for creating geometries under Quick Start. Here is the image for indication:

image There are 2 typo problems in this line:

annotated

The underlined line would be:

  Point<G2D> pnt=Point(g(4.33,53.21),WGS84);

Changes:

Why this change is important

People who will be using this library for the first time will inevitabely go through the readme file to understand how to work with this library if the first line only contains a typo it gives a bad impression and user may switch to another library thinking it is not a good library which is not the case with this library so, this change is urgently required. This a urgent non-trivial change if you assign it to me I will do it. It would take 2 mins.

maesenka commented 7 months ago

The code in the README is correct. It makes us of the static factory methods in the DSL package.