New answers tagged vector
0
I found that the basic dissolve tool works much better than the multipart-->singlepart then unsplit lines approach.
1
Why do you think, you can't style a layer based on attributes? It is very much possible.
There are several ways including:
You can use uniqueValueRules, like shown in this sample: Unique Value Styles Example
You could use Context of a style, like given in this sample: Feature Styles Example
You could create a SLD and apply it to your layer, like given in ...
1
Thanks to gsherman above the PinPoint plugin example is perfect.
As I understand it the process is:
Create the layer with the attributes in the construction string
Add said layer to the map registry
Start editing on that layer
Add features and commit the changes
Here is an extract of my code which now works.
layer = QgsVectorLayer(
...
0
You could use a marker layer with a image for easy rendering if you only want a simple marker.
Also you will need to center the map to the desired location. With a OpenLayers.Layer.Vector you can do it easily:
(OpenLayers.Map).zoomToExtent( (OpenLayers.Layer.Vector).getDataExtent() );
To make the "follow" thing you will need a timer to update the ...
0
You can use Geospatial Modelling Environment tools (independent tools) which used to be Hawths Tools. From there you can extract raster values of the extent of polygons with whichever statistics you want. You can also extract thematic variables with its fraction. the result will be automatically added to your shapefile. This tool works together with ArcGIS ...
0
I think the only part of the code missing is the center on the point, right?
If the layer has only that point, you can zoom to the layer extent.
If the layer has more than one point, you can zoom to the coordinates.
3
In 2003 the Landsat 7 ETM sensor had an error in the scan line corrector. The gaps you are observing are a result of this sensor error. There are many ways to correct this issue. Essentially it requires that you find two similar images and fill in the gaps. In other words, there is another preprocessing step that is required. Some resources that may ...
0
Not quite sure what your "onScreen" function is, but an example that should work is this:
map.events.register("moveend", map, function(evt) {
var extent = map.getExtent();
var output = [];
for (var i = 0, l = myFeatures.features.length; i < l; i++) {
var feature = myFeatures.features[i];
if ...
0
An example can be found at this website:
http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php
0
Here is the code I recently wrote to solve the popup and tooltip popup problem. It works ok for me exact some tooltip(anchored Popup remain on screen until map is refreshed). Hope this helps you.
//Add a selector control to the vectorLayer with popup functions
var controls = {
highlightCtrl: new ...
0
There were plans and there was a solution but it is now outdated: http://hub.qgis.org/issues/2037
Try if render caching reduces the pain. When working with bigger datasets, avoid zooming out too far - if possible - and use the possibility to deactivate rendering when possible. As mentioned in the comments, loading the file into PostGIS and adding indexes ...
0
As Underdark said above it is the qml file.
Thank underdark
0
If you use the dbf driver you can carefully use LibreOffice (or Open Office) to edit directly the dbf file... just be careful not to add/remove records.
0
To answer just one part of the question, specifically
I think I have a good idea how I could write a where clause for a
spatial SQL query such this, but it's not at all clear where I'm
submitting this type of query from my Javascript web client. Some PHP
examples I've found seem to suggest that a server side process will
have to submit the SQL ...
0
If you right click the toolbox in your default folder, click Add --> Tool. You should see NVSStreamTools in the system toolbox list. You can add the Vector Stream Order too this way.
I would expect it to show in the system toolbox, but it isn't for me either. Perhaps a reboot...
Good luck.
Top 50 recent answers are included

