7月 28, 2021

GeoJson with Java

 My GeoJson data consist of a feature containing a single polygon.  [Beforehand it was purely a polygon, as it is not desired by the Google Map API, I had to wrap it up.]

However, when coming to Java JTS, thanks to the un-interoperable nature of GeoJson standard, I consistently got bamed by parse errors.

 

This time, JTS hates GeoJson Feature.

 

 

 

```

org.locationtech.jts.io.ParseException: Could not parse Geometry from GeoJson string.  Unsupported 'type':Feature
    at org.locationtech.jts.io.geojson.GeoJsonReader.create(GeoJsonReader.java:171)
    at org.locationtech.jts.io.geojson.GeoJsonReader.read(GeoJsonReader.java:132)
    at org.locationtech.jts.io.geojson.GeoJsonReader.read(GeoJsonReader.java:94)
```

7月 22, 2021

use angular with yarn

 https://tutorialsforangular.com/2020/12/18/using-yarn-with-angular/

ng config -g cli.packageManager yarn

 

7月 15, 2021

More on MSYS2

# Key issues

error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
:: Import PGP key 4A6129F4E4B84AE46ED7F635628F528CF3053E04? [Y/n]
[...]
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))
loading packages...
error: failed to prepare transaction (invalid or corrupted database)
 
This happened after newly installed.
 
 
https://www.msys2.org/news/#2020-06-29-new-packagers
 
 
# Change shell
 Quite troublesome, currently skipped
 

7月 13, 2021

First Vue components project

 

vue.Left: template component

.Right: Separated script component



Mapping Component on App.vue, the root component