Tag Info

New answers tagged

0

Two suggestions The Australians opeate almost entirely on rainfall-driven models. Gets you around the snow melt modeling problem South Africa has a well-developed (mainly) event rainfall rainfall runoff model based on US SCS methods. For starters check the works of Prof Roland Schulze, U. Natal, Pietermaitzburg. Hope this helps bucky


2

You may use ListWorkspaces method (once you make the connection) to list the existing databases within SDE: Lists all of the workspaces within the set workspace. Search conditions can be specified for the workspace name and workspace type to limit the list that is returned. workspaces = arcpy.ListWorkspaces("*", "SDE") for workspace in ...


2

You can use the write function of the OpenLayers.Format.GeoJSON to generate (Geo)JSON directly. The input is either an OpenLayers geometry, feature or feature vector, so the returned JSON, will either contain one or many features depending on the input. Note if your OpenLayers Features have attributes, these get turned into JSON too, so you can use this to ...


7

Why use a database? Because it's not necessarily the case, especially with larger datasets, that you can expect to be able to push the entire thing to the client. If you're talking thousands of points, then sure, but for millions of points you probably don't want each and every one represented in RAM on your end users' client. Not everyone has a super fast ...


2

To add to the answers and reiterate some points, one uses a spatially-enabled database if you have queries that relate to the spatial relations of the data, a few of which are the following: which points are within x kilometers of my points of interest which points are nearer how far a point is from other point which points are x kilometers ...


1

Which version of QGIS are you running? I used to encounter this all the time, but haven't since switching to QGIS 2.4. I suspect it's been fixed. One workaround which I used to use was that instead of closing QGIS you can use pgAdmin to just temporarily terminate the open blocking connection from QGIS. Go to Tools -> Server Status, select the connection ...


1

a thread from last year on osgeo mentions 'if you are using the PostGIS Manager you have the option to refresh...'. However, PostGIS Manager has been superseded by DB Manager. I don't have a PostGIS database to test, but DB Manager allows refresh of sqlite databases. Still could be a bit of a pain if you have to open DB Manager, select the db, and hit F5 ...


1

If you are using psycopg2 then you can close the connection to Postgres like so con.close()


1

Geoserver is a good way to go. You could use the NETCDF Datastore to create the layer and style the Raster using SLD Raster Symbolizer it so that it overlays your OSM base layer transparantly. To handle the updating of the data without bringing the Layers down for long, you could use the Geoserver REST API via Curl. To make this work, you would have two ...


2

Figured this out! (also asked here) A record in a spatial table (Shapefile, PostGIS, Spatialite) that has no geometry can have geometry added by adding a 'part' to the feature using the advanced digitizing toolbar. Here's the workflow: Bring table containing the geometry-missing feature into QGIS Select the layer from the layers panel and start an edit ...



Top 50 recent answers are included