We are developing a GIS solution using a Postgis database and GeoServer for WMS Image rendering and WFS queries,We use sql views to create geoserver layers because manipulating a view for us in easier than using direct tables because our layers are dynamic,a user can import a layer (ex: a shape file or a GeoJSON file) to our database and can insert,update or remove a feature from a web interface made using lefleat.WFS read queries like describeFeatureType works fine,but now we want to enable WFS-T to our layers hosted on geoserver so users can edit them from QGIS for exemple.
I had made a lot of research on the web to do so but none of the solutions worked me for making WFS-T works with a postgis view,I have already created a metadata table "pk_metadata_table" on my database and reference it from my PostGIS DataStore,i also applied rules to my POSTGIS view so i can insert ,edit and delete on it,in reality it works fine with pgadmin when i try for exemple to insert in a view but when a try WFS-T request on a layer, Geoserver tell me that the layer is "read only" so any one could make things work for WFS-T on a postgis (not oracle please) View in the past can help me please?
Related
I need to build a small Web GIS application, where the end user can:
1. upload a polygonal shapefile
2. the shapefile goes to a backend database (may be postgresql)
3. A spatial operation (overlay) is performed with existing 3 layers (already loaded to postgresql) and the result is returned like: the uploaded file falls within AAA layer (shapefile stored in postgresql) and is intersected with abc files, its total area is BBB etc
Then the user upload another polygonal shapefile,
1. it gets uploaded to the database (I dont know if this is required step or can be skipped)
2. generate summary statistics on one column and present result in the form of a chart
Then the user upload a point layer shapefile
1. system generate a service area map based on the location of points
Please advise what open source tools can be best for me to start.
I was thinking to go with geoserver, geoext, and postgresql. Is that a good commbination. Please advise
Generally, the web mapping applications consist of two parts; client side and server side.
At server side part, you need a map sever like ArcGIS server or geoserver and a database with ability for storing, handling, and manipulating spatial data like postGIS. PostGIS provides tons of useful spatial function that you can use in your spatial analyses.
At client side part, you can use the ready-to-use tools like geoExt if you don't have enough time to develop your application or you don't have enough skill to create a web application from start. But if you have enough skill in designing and developing the responsive web application, you can use Bootstrap or React and also use openlayers or leaflet to visualizing and handling spatial data on the web pages.
I have recently pulled multiple JSON files from a SQL database and I would like to load them into my Google Datastore. Can anyone suggest the best way to go about this. I have read the docs and they detail how to create entities but I cannot determine how to do a bulk data load. Any tips or tricks would be welcome.
Two years later and no answer! The key to doing this right now, in 2017, seems to be the new Dataflow thing in Google Cloud. There are SDKs for both Java and Python, but it's still so new I'm using the Java SDK, the 1.9 version. I've adapted two of the examples and have it putting data into the Datastore. It seems to play nice with namespaces so far, but it's a little difficult to make fields with parent/child relationships.
As you know, the architecture of a simple GIS is as follows:
GeoDatabase->MapServer->Client.
Between mapServer and Client, there is some amount of standardization:
MapServer -> (OGC Standard adapter) -> Client.
I want to know if something similar exists between GeoDatabase and mapServer, something like:
arbitraryDatsource -> (X Standard adapter) -> MapServer.
I know I can create views inside any relational database for being accesible to the mapServer.
But my problem is, the database I have is not a relational or standard data source. So, if an standard interface (Web service) between databases and mapServers exist, my problem is solved as I can implement that service to access my database and plug it into the MapServer.
Do you know if such standard exist?
Thank you in advance,
Esteban.
No idea about MapServer but in geoserver you can connect with WMS service. GeoServer has the ability to proxy a remote Web Map Service (WMS). This process is sometimes known as Cascading WMS.
http://www.onterrasystems.com/storage/mapsavvy/Geoserver%20as%20Admin%20and%20setup%20a%20WMS%20Cascade.pdf
http://docs.geoserver.org/stable/en/user/data/cascaded/wms.html
On the web there are many libaries and programs that alow for basic display of data yet there doesn't seem to be one that is able to quickly generate basic x/y graphs based on simple drag/drop input from the mysql database.
Is there a method available opensource/free/paid to get a quick and (if needed) very dirty view of data in a graphical way?
Preferable it should plug in to Workbench or be a stand alone (web) app.
If you are using Java ,you can refer to http://www.jfree.org/jfreechart/ ,if you are using Python , you can refer to http://matplotlib.org/ .
I am working on my first iOS-application and I want to use MySQL as my remote database.
I've been googing around and reading here at Stack, but I can't find my new answers to the question. Does there exists any good wrappers out there? I found this link: mysql for ios, but it clearly states that it is not guaranteed to be accepted in the App Store.
I really want to have a wrapper rather than using some sort of webservice.
Anyone have some more updated news on this?
Your best bet is to use SQLite or CoreData libraries, they are very low overhead. CoreData is built into iOS functionality, SQLite just needs the .db file and a library (part of iOS) imported.
If you could somehow get your MySQL database online and expose it via REST you could possibly use REST to get and set data into and out of the database. But this will slow your app to a crawl.
CoreData is fast, and when using the data in context like that, it simplifies everything. Writing SQL statements is slowly becoming an archaic process.