Hi,
I have a question about generating the bounding box when adding a new feature type. I read a previous question here http://www.nabble.com/What's-the-bounding-box-for--tf4074958.html#a11581204 about it, and it seems like it doesn't matter what the bounding box is. The thing is, I want to automate adding a new table to PostGIS and adding it as a feature type in Geoserver (1.5.1) right after (with http post), before any data has been added to the table (point data will be continuously added in later). Obviously, autogenerating the bounding box wouldn't work since there's no data, so I tried to put in -180, -90, 180, 90 for the min long, min lat, max long, max lat as bounding box while just testing using the web admin interface, and when I hit submit, I get this message:
The following exception was thrown:
/|java.lang.NumberFormatException: empty String
|/|This happens even if I added a row to the table...
Do I have to have data in a geometry table before adding it as a feature type? What if I just inserted some row, add it as a feature type, and then delete those rows?
Thanks,
Doris
|/|
|/