New answers tagged

1

There is a plugin named OpenWOR. You need to search for the plugin in the plugin manager. The plugin is experimental, so in order to find it, you should go to Plugins -> Manage and Install Plugins -> Settings -> Check the "Show experimental plugins". Then you should find OpenWOR Plugin.


0

Since I asked this question QGIS has developed the capacity to do this more simply and easily... (since 2.14 I think)... so I'm returning to answer my own question. Use a QGIS 'Virtual Layer'. Menu: Layer|Add Layer|Add Virtual Layer (or corresponding button) In the image is the add virtual layer dialogue window that appears - in this case I'm working ...


0

I know it is a little late to answer but I had a similar problem and wanted to convert my Raster tab file to a esri world file (tiff + tfw). I could not use command files as it is blocked from my IS department.I tried to convert from FME but it could not read my tab file (which had a Pt4 line missing).So I worked it out myself = See step by step guide on ...


0

MapInfo Pro doesn't allow you to "browse" the data behind a raster grid. If you want to work with raster grids in MapInfo Pro, I would recommend that you take a look at MapInfo Pro Advanced which can be considered the 64-bit replacement for the "classic" 32-bit Vertical Mapper. But maybe this tool can help you out for now: Grid Analyser It's not exactly ...


2

Basically yes, the code you have used would update all the objects that are already in the table with a new pen and brush style. If there are no existing objects in the table then there would be no records to change. It sounds like you maybe want to change the current pen and brush styles so that any new objects you draw use that new style? If so, you can do ...


0

As it looks like you're using MapInfo, here is a MapBasic function I wrote a while back for an in-house tool I was working on. It takes a source node (your centroid point) and a region object (the polygon) as arguments and returns a point object at the furthest node in the polygon from the source point. Function GetFurthest(ByVal oNode1 as Object, ByVal ...


3

Using next PyQGIS code: from math import sqrt layer = iface.activeLayer() feats = [ feat for feat in layer.getFeatures() ] n = len(feats) centroids = [ feat.geometry().centroid().asPoint() for feat in feats ] polygons = [ feat.geometry().asPolygon()[0] for feat in feats ] lengths = [] for i, pol in enumerate(polygons): max_dist = 0 idx_j = 0 ...


3

It looks like you are working with MapInfo. The "Distance Calculator" (find it in tool manager) has many options and I think it can handle this task too. There is an article about it here: http://web.pb.com/mapinfopro-jul-2013/Toolbox-Distance-Calculator


12

Using PostGIS, I used ST_ConvexHull to simplify the polygon for a faster result: Get the furthest Point: SELECT Villages_v4_Trial_region.geom as FarPoint from ( SELECT ST_PointN(ST_ExteriorRing(ST_ConvexHull(Villages_v4_Trial_region.geom)), generate_series(1, ST_NPoints(ST_ExteriorRing(ST_ConvexHull(Villages_v4_Trial_region.geom))))) as points, geom FROM ...


0

You can use the Update Column function in MapInfo Pro to do this. Table to Update: DBMS_Table Column to Update: Get Value From Table: Polygon_Table Calculate: Value of: Click on the Join button to specify how to join the two tables. Select the option "where object from table DBMS_table is within objects from table Polygon_Table". Repeat this for ...


1

You will need to do two queries. In the first one: Same as yours, but remove "(Rowid<=100) And" Then, secondly, query the 'Selection' table to show where Rowid<=100



Top 50 recent answers are included