Jump to content

Our forum made possible by displaying online advertisements to our visitors.

Please consider supporting us by disabling your ads blocker.


  • Content count

  • Joined

  • Last visited

Community Reputation

11 Good

About jorrarro

  • Rank

Profile Information

  • Gender
    Not Telling
  1. You can import shapefiles using Fiona and do all sorts of modifications with Shapely. For more information, look here: https://sgillies.net/2010/07/06/shapely-recipes.html
  2. This depends on where do you need to use this calculation. Mostly you can convert them to cartesian and then use application-specific methods to avoid errors. For example, in Excel you can use IFERROR function to default all divisions by zero (vertically aligned) to 0 or 180 degrees. In SQL you can use NULLIF on divisors equalling zero and then COALESCE to default value.
  3. Help on reading coordinate numbers

    First I used Excel to transform data to table. Data -> Text to columns. As I could not use space as delimiter (last column has spaces), I used fixed width so that all numbers went to separate fields. And then rewrote the header. As CSV, the data came out as follows (semicolon as delimiter): GID;Y;X;Z;text; 160501;1136981.309;427018.995;24.453;Tabtgået; 160502;1137117.536;426932.208;24.7;Spyd i jord m gul top; 160503;1137074.143;427167.529;25.276;Spyd i jord m gul top; 160504;1137270.694;427149.621;24.771;Spyd i jord m gul top; 160505;1137316.357;426982.35;24.863;Spyd i jord m gul top; 160506;1137372.847;427141.53;23.281;Spyd i jord m gul top; 160507;1137475.44;426979.949;22.596;Tabtgået; 160508;1137527.149;427215.072;21.179;Spyd i jord m gul top; 160509;1137611.641;427182.29;20.764;Spyd i jord m gul top; 160510;1137616.198;427041.391;20.413;Spyd i jord m gul top; 160511;1137740.069;427050.822;19.723;Spyd i jord m gul top; 160512;1137751.792;427132.87;19.216;Tabtgået; 161004;1137048.141;427149.171;25;Spyd i jord m gul top; 161003;1137126.893;427110.19;25.517;Tabtgået; 161002;1137182.808;427057.73;25.309;Tabtgået; 161001;1137220.373;427007.094;25.911;Spyd i jord m gul top; 170102;1137306.111;427120.132;24.574;Spyd i jord m gul top; 170103;1137301.109;427034.383;25.118;Spyd i jord m gul top; 170101;1137275.446;427044.6;25.784;Spyd i jord m gul top; 170104;1137393.761;427019.66;23.584;Spyd i jord m gul top; 170105;1137413.861;427022.837;23.365;Spyd i jord m gul top; 170106;1137419.946;427116.878;22.07;Spyd i jord m gul top; 170501;1137404.049;427054.017;21.139;Fast prisme i tunnel, prismekonstant;-17,5mm 170502;1137410.036;427080.694;21.107;Fast prisme i tunnel, prismekonstant;-17,5mm 170503;1137293.021;427063.412;20.908;Fast prisme i tunnel, prismekonstant;-17,5mm 170504;1137291.129;427086.338;20.879;Fast prisme i tunnel, prismekonstant;-17,5mm 170505;1137218.985;427024.099;20.888;Fast prisme i tunnel, prismekonstant;-17,5mm 170506;1137218.609;427019.445;20.795;Fast prisme i tunnel, prismekonstant;-17,5mm For ArcMap, I added the saved CSV (you could save it as XLSX and use it same way) file to data frame and under right click chose Display XY data. Arcmap detects X and Y automatically, just had to set Z to field Z. Under projection, click Edit and choose DKTM2 (Projected - National grids - Europe, search works too).
  4. Help on reading coordinate numbers

    It seems to me that the answer is in your dataset. In the text file SRS: DKTM2_DVR90 That means Danish system with metric coordinates. Use this as reference: https://epsg.io/4098 When importing the coordinates, be sure to notice that they are not XYZ but YXZ (northings before eastings).
  5. Usually Python libs work in Windows, installing them is the problem. Mostly there is somewhat cryptic error saying it cannot find vcvarsall.bat or some other file. However, if you install the prerequisites from the precompiled wheels, you can install the library using pip. For example, OSMpythonTools has a lot of prerequisites, such as lxml, pandas, matplotlib, ujson. Now just typing in "pip install osmpythontools" gives an error like this: " Running setup.py install for ujson ... error Complete output from command C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Tanel\\AppData\\Local\\Temp\\pip-build-hrf5z5wi\\ujson\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Test\AppData\Local\Temp\pip-tva4s83x-record\install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'ujson' extension error: Unable to find vcvarsall.bat " So the solution is to download the precompiled wheel from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/ And install the wheel "pip install C:\tmp\ujson-1.35-cp34-cp34m-win_amd64.whl". Then retry installing and if there is error with any packages, install corresponding wheels.
  6. Activity of species in a study area

    Do you want to just map the locations or to create polygons which represent the inhabitable area? If the first one (just the locations), then all you have to do, is create point layer from the receiver locations and filter the ones that have registered lobster activity. You could use pretty much any GIS software (or even Excel graphs) for this, for example: http://www.qgistutorials.com/en/docs/importing_spreadsheets_csv.html If you want to create polygons, then you have to take the point locations and create Voronoi polygons (i.e. distribute the area between receiver locations), example: http://djjr-courses.wikidot.com/soc128:qgis-voronoi-polygons. You may have to cut the resulting polygon set with bathymetry data.
  7. Satellite Imagery Orthorectification

    If you are inclined to open source software, I would recommend SAGA - http://www.saga-gis.org/en/index.html For example: https://sagatutorials.wordpress.com/landsat-image-pan-sharpening/
  8. Why should someone buy MapInfo?

    Simple answer - ignorance and tradition. To elaborate, if your workplace has only used MapInfo, if it's the only GIS software taught in school etc and you're not particularly interested in widening your horizons, then it is only way to get stuff done. Historically, MapInfo has been cheaper, so it is easier to find money in the budget also.
  9. arcgis requirment for android developing

    Having some experience with Android & ArcGIS development, I can say that pretty much any current Android device will do (performance-wise). However, you should specify minimal screen resolution and internal storage size. And if application needs specific location, users should disable other location services beside GPS (such as cell towers). If your application relies on hardware buttons (home, back, settings), then devices should have them. Some only have one. If application needs constant data access, then an unlimited data plan is necessary for outdoor work. If data is loaded onto device before, then minimal storage requirement must be set.
  10. Downloading Data from WMS Server.... Possible?

    Probably too late for original poster, but for anybody else with similar problem: It is possible and rather simple. As you might know, WMS can be accessed through web browser, if you write all necessary parameters into address. And you can download that image using Save As function. Now, doing all this by hand is awfully time-consuming and tiresome. So you could create the links by some kind of function (maybe in Excel) and later feed that list to some kind of downloader (like wget). As for the parameters, I recommend using GeoTIFF as image format, as it is already georeferenced. Set the height and width to maximum available (usually 2048 pixels). Bounding box coordinates should be set using a function, so that on file's ending is at next one's start. Map page edge length in real measures (meters, miles, degrees - whatever you have) should be set by original resolution. Sample request is following (not working, I know, but should give right impression. Replace the server address and layer names with whatever you need): http://porter.pmel.noaa.gov:8922/wms/wms_servlet?VERSION=1.1.1&REQUEST=GetMap&LAYERS=coads_climatology_cdf:airt&STYLES=&WIDTH=2048&HEIGHT=2048&FORMAT=image/tiff&SRS=EPSG:4326&BBOX=-180.0,-90.0,180.0,90.0 While this is pretty confusing at first, it gets easier when you get the hang of it. After all, it is the only way to use WMS data on cheaper AutoCAD versions.

Important Information

By using this site, you agree to our Terms of Use.