New answers tagged

0

First you will want to generate a raster surface. To do that you want to start with points with values. You should be able to create a point file with the values from the analytical results that you have (assuming you have coordinate values in your table). Then the size of the raster surface that you create will depend on the spatial density of points that ...


1

I would recommend using the CSV module, I find it an extremely useful module to know, especially with any kind of reporting that needs to be done. https://docs.python.org/2/library/csv.html I have made up this code, I don't have arcpy on my computer at home, so you will need to check if it works import csv import arcpy csvLocation = r'/desktop/test.csv' ...


0

Read the JSON standard and GeoJSON standard - they specify everything from commas to brackets to property fields in the geographical data.


2

a) With the solution you use (Pyshp (shapefile), you need 1) to extract the fields of the csv file 2) to define the fields of the shapefile (w.field('Target','C',50)) 3) to construct the geometry from the lon et lat fields ( w.point(float(i['x']),float(i['y'])) (see CSV to Shapefile ) b) With Fiona, it is easier but you have the same problem of field ...


0

Check your selection tolerance to see if its around 3-5 pixels and not something like 300. Also, try opening an entirely different map that you know is projected correctly and uses different datasets and see if it works. If it does, then its probably a data issue and I would check your projection again and maybe the precision if it is in a geodatabase, ...


0

I usualy search for proper coordinate systems in the web "epsg.io". You can search "Ireland" in that web and you obtain several results. Maybe "IRENET95 / UTM zone 29N" match your needs but I'm not sure because I've never worked with Irish data


0

It was not a space but a tab. They way to fix it is with Replace in Notepad++.


2

In your excel spreadsheet copy the column with the values in it, then using "paste special" select "values". If this doesn't work you can remove all unnecessary spaces in your excel sheet before saving as a csv and importing. To do this you can use the find and replace function: open find and replace, put a single space in the "Find what" box and nothing in ...


0

In QGIS use Calculating field for table and remove space with trim fonction and replace fonction.


0

You must convert the "description" field of your csv file into label annotation following the DGAL OGR Feature Style specification http://www.gdal.org/ogr_feature_style.html. See a text label example from the section 2.1 A text label, taking the text string from the "text_string" attribute field: "LABEL(f:"Times New Roman",s:12pt,t:{text_string})...


1

Just for future reference because I was able to solve my problem: If you want to create a new spatialite layer without having changes in the attribute field names (e.g. upper case to lower case), then you need to change the layer option LAUNDER in the 'save as' option form to "NO". Now the new spatialite layer possesses exactly the same attribute field ...


3

To create a point from CSV file in MapInfo, you need to do the following: Go to File -> Open Change the format of the file from (tab) to (csv) Select the CSV file that you want. This procedure will open CSV file as table not point. To plot the X,Y as point, go to Table -> Create Points Select the field that represents X coordinate and the field the ...


0

In QGIS, right-click on a layer with geometry and go in Properties. There, click on the Joins tab on the left (it looks like an arrow with a dot). Then click on + and chose the layers and fields on which you want to do the Join.


2

It seems that Spatialite's ST_LocateAlong function only returns a value if the searched value is directly found on a vertex. It does not interpolate between vertices. It's what's written in Spatialite's manual: ST_LocateAlong( geom Geometry , m_value Double precision ) : Geometry Return a derived geometry collection value with elements that match ...



Top 50 recent answers are included