简体   繁体   中英

gvNIX `finder geo all` Command not finding “geo field”

I am trying to create a map based application following this tutorial

I have a PostgreSQL/PostGIS database with a table called outlet on which I added a POINT column called location_gps via SQL:

SELECT AddGeometryColumn('outlet','location_gps','4210','POINT',2); . This results in an outlet table which looks like:

插座表的图像

Reverse engineering the database to get a Spring Roo app gives me an Outlet_Roo_DbManaged.aj with the field:

程式码片段

This field is of type String. So when I run the gvNIX command finder geo all I get the message

The entity specified, Outlet doesn't have geo fields. Use "field geo" command to add new geo fields on current entity.

How can I overcome this issue?

Kind regards, T

Reverse engineering add-on doesn't support geometry columns (as it's a original Spring Roo add-on). So, you should push-in this property and modify its definition to support geometry column.

Also, remember to execute the setup-commands of gvNIX geo add-on to include required dependencies in your project.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM