Hi Jeremy,
I would run ogrinfo on that table to see what field to use for your
CLASSITEM, such as:
ogrinfo PG:"user=postgres password=postgres dbname=mdm6data
host=mxsig-db port=5432" tutoiral.states_ugl_imported -summary
(your timing is good as the tutorial was recently updated for MapServ
Hi Jeff,
My understanding, as the tutorial says, is that the class column comes from
the dbf file
That's the tutorial's dataset - shp file and dbf file
So I guess my query will be how to import the dbf file into the database
such that is "corresponds" to the shp file table
How to import states_ug
Try "class" lower case. Be sure that the case of your column names match
the case in postges.
On Sun, Apr 30, 2023, 3:04 PM Jeremy JK wrote:
> Hi Jeff,
> My understanding, as the tutorial says, is that the class column comes
> from the dbf file
> That's the tutorial's dataset - shp file and dbf