Hi everyone, I imported some geopackages files to my PostGIS store in GeoServer via ogr2ogr and for publishing that layer in GeoServer I used POST method explaide in featuretype GeoServer RESTful API, But I've big issue I can not check how many of files(layers) imported and published successfully, I'm going to know is there any way I'll be able to check publish progress state?
@navid.ta:matrix.org You should be able to tell based on the REST API response.
Or you could just GET the /layers later?
Depends on what you're really trying to do here (or better, why you are trying to do it - what the information need is, the problem you are trying to solve).
Thank you for your answer, I didn't know It was possible via feeaturetype RESTful API, because I tested method in my Linux terminal and then I didn't get any response. If you want to know why I did use this method(ogr2ogr and featuretype REST API) because I did know any options, GeoServer Importer REST API can not support conversion for geodatabases or archive files and then I did search, However I understood I can import my non shapefiles to PostGIS store by that method I explained in above. In GeoServer Importer extension REST, it is possible to check state of files in each step, state announce by some specific name such "PENDING", "COMPLETE", "ERROR" , etc, I'm looking a way to find out how can I know state or even I'll get a progress number percentage for each layer importing procedure.
Hi guys. I would like to use the lat & long coordinate data in the GS. I already search it in the db but couldn't find it. Please help sir. Thanks.
What do you mean you didn't get any response? No response to the POST?
@rappidGIS Your question doesn't have enough detail to be answered. We can't see your screen, have no idea what you're trying to do. Please explain what you are trying to do, what you've tried, what happened, and what you expected to happen instead.
hi all, if I wanted to download a raster grid, I should set a WCS service, right? I think I set correctly the WCS service, but from the layer preview dropdown 'all formats' does not appear the available formats for WCS. Where am I wrong?
There is no preview for that, you can use the WCS Request Builder if you like; it is kind of like a preview and helps you make the request.
Keep in mind that not all raster formats are visible in a browser (so not the best for preview)
Depends on how you think of "raster grid" too. If your grid could be a GeoTIFF file for example, you may be able to do something with WMS. WCS is probably a better fit though.
@bradh@jodygarnett thank you for the hints. Actually I was supposing that once I set a WCS service I could be able to download a grid from the layers preview so in the dropdown menu I was supposing to find even a part including WCS format like ascii griid or txt or whatever other format able to report a grid. Is that possible? Am I wrong? However I tested the WCS request builder and it does what I wanted from the layers preview 'all formats'
@frippe12573 You shouldn't think of the layer preview as being exhaustive. It demonstrates only a few of the many capabilities of GeoServer. In particular, if you aren't going to "view", then "preview" may not make sense.
@bradh actually I need a URL to let the users download the grid from Geonetwork metadata catalog (online resources)