New answers tagged attributes
To help debug this I would suggest cleaning up the code a bit: import arcpy from arcpy import env arcpy.env.workspace= r"E:\cities" # added raw string indicator `r` Mi= r"E:\cities\rivers.shp" # removed parentheses - (r"E:\cities\rivers.shp") is a tuple, not a string rows = arcpy.SearchCursor(Mi,'"NAME" = \'Mississippi\'') row = rows.next() largeur = ...
QGIS joins cannot use composite keys. You have to create a combined key attribute column if you want to use the QGIS-internal join functionality. An alternative would be to import the data into Spatialite or PostGIS where you will have more join options including joins on composite keys.
If I understand your question properly, I suggest just concatenating your two 'split' fields into one, which would give all possible combinations, then just use that column for the split. You could remove the concatenated column when done to clean up the data if that matters.
perhaps a bit late but: You need to set extractStyles: false on your KML layer if your KML content doesn't contain styles (even when it does contain styles, chances are it will not work with the styles defined in the KML itself). I've spent a great amount of time and I pretty much came to the conclusion that openlayers is quite picky on the KML format. ...
It's a bit more complicated than that in QGis. As per this article, you have to create your own function definition in Python, then import it into QGis (this can be done automatically on startup). This may seem tricky, but you only need to do it once and it will always be there! This is the function I used, based on dmahr's above. Not sure how it deals with ...
AFAIK OGR SQL doesn't support regular expressions natively, but... By default, the REGEXP operator has no implementation in SQLite. With OGR >= 1.10 built against the PCRE library, the REGEXP operator is available in SQL statements run by OGR. Source: http://www.gdal.org/ogr/drv_sqlite.html However, see also: ...
Try this example, this is the advance OpenLayer tutorial http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html
Top 50 recent answers are included