|
From: John M. <joh...@so...> - 2005-04-12 15:16:58
|
> Oh yeah, one more, I changed the datastore factory to use a url instead > of a file. I couldn't get it right on geoserver with the file, and > indeed we do some tricky stuff with urls for relative locations. > Shapefile is a url, and I think gml may be too, so I think it just > makes things more in line. With approval I'll put that in as well. I > think it allows a bit more flexibility. This may cause some problems since it has to actually be a file. If you've got some robust error checking and URL -> File code then I don't have a problem with switching it over. >>I tried to use GML but couldn't get it to work. One problem was >>http://jira.codehaus.org/browse/GEOT-471. But even with that fixed >>locally I couldn't get any downloaded files to actually work. My >>guess >>was that it was looking for GML tags at the root level and all the >>files >>I found had GML tags embedded down in subelements. > > Cool, I was going to spend a bit of time seeing if I could get it > working. I would actually guess another problem might be if you don't > have your schemaLocations all set exactly right, as it processes those. I didn't do anything with schemaLocations. I just tried loading up some random GML files that I found online. Since no one was breathing down my neck about GML support (they were about VPF) I didn't put any real effort into debugging it. |