Draw nearest points for specific point-line couples

I have a network made of several segments and some nodes located in the map. What I want to do is to choose individually a couple node-segment and find the location of the closest point to the node laying on the segment.

I do not know how (and if I can) select a specific feature (i.e. a specific node and segment) from the nodes and from the lines layers to perform this geoprocessing analyisis.

Can this be done?

How can I add a custom font in ArcGIS server 10.2

I have made a map export template which used Arial in the scalebar labels.
I have installed a new font in my pc and I can see the font change from arcmap.

When I install the custom font in the windows machine with the GIS server (double click install) I can see no change in my published service as for the fonts.

I have also tried putting the font in C:Program FilesArcGISServerStyles as per this article . Also I have tried to find /arcgis/server/fonts as per this linux related directions, but such a location does not seem to exist in windows.

I am restarting GIS server after every change
Any ideas ?

“Batch process” in qgis or simple program for resave multiple vector files into files with different CRS

Right now i,m using QGIS 2.10.1 Pisa, and i wonder if in QGIS there is any feature or plugin to resave multiple vector files that using CRS “A” into vector files using CRS “B” in 1 execution step (Batch process). I mean not save it one by one.

so far i find the closest solution (but no CRS changing) is batch processing for selected features from the toolbox – on pic
enter image description here

But this feature does not have option to change the output CRS. It would be a great help if someone know how to do this in QGIS or in another standalone program that can do this kind of batch processing.

How can I convert a DataTable to a GeoDatabaseTable

I have a DataTable full of “stops” and I want to convert it into a table that can be GeoCoded. However, I am getting an error when I try to execute it.

The Message: Error HRESULT E_FAIL has been returned from a call to a COM component.

The Error Code: -2147467259

public static void DataTableToGeoDataBaseTable(DataTable inTable, string outPath, string outName)

        DataTable dTable = new DataTable();
        dTable = inTable;

        Geoprocessor GP = new Geoprocessor();

        // Create the tool process object.
        ESRI.ArcGIS.DataManagementTools.CopyRows copyrowsTool = new

        // Set parameter values.
        copyrowsTool.in_rows = dTable;
        copyrowsTool.out_table = outPath + "\" + outName;    //"Z:\Projects\Project\NewTable"

        // Execute the tool. 
        GP.Execute(copyrowsTool, null);  //ERROR HRESULT E_FAIL HAPPENS HERE

Where am I going wrong?

I have also tried this version

public static void DataTableToGeoDataBaseTable(DataTable inTable, string outPath, string outName)

        DataTable dTable = new DataTable();
        dTable = inTable;

        ESRI.ArcGIS.ConversionTools.TableToTable tableToTable = new ESRI.ArcGIS.ConversionTools.TableToTable();
        tableToTable.in_rows = dTable;
        tableToTable.out_name = outName;
        tableToTable.out_path = outPath;

        Geoprocessor gp = new Geoprocessor();
        gp.Execute(tableToTable, null);


QGIS Spatial join using subset of features?

I have a road network shapefile, as well as a postgis layer of different areas in a city. The areas file contains one big polygon containing everything (the service area), and then a series of smaller polygons that split up the city by neighborhood. I want to assign info from the smaller neighborhood polygons to the road network based on location. If I do a simple spatial join, then the road network will get info from the larger service area, which I do not want. Is there an easy way to tell QGIS to exclude the service area from the join?

I realize I could export only the neighborhood polygons to a new file, then do a spatial join, but I would like to avoid creating a new file every time I have to do this (which will be weekly).

I am using QGIS 2.8.6 and Python 2.7. A script would be ideal, but I can use the graphical interface if necessary

Edit: I tried using the intersect tool, but it is going really slowly for my network layer of about 180,000 features (on track to take like 20 minutes). In the future I will need to do this for layers with over a million features, so this won’t be acceptable

Redrawing multisegmented lines as arcs using measurements stored in attributes

I’m beginning the process of moving our local government cadastre data in to a topologically clean parcel fabric layer using ArcGIS. I’m at the stage where I’m looking to clean the data and get it ready for migration. We currently store data in two feature classes: a line feature class for drawing the registered plans and a polygon feature class, built from those lines, containing the parcel shapes. The bad news is that at some point in the past a lot of the arc data has been converted from being an actual arc to being multisegmented lines:

Example of multisegment lines instead of arcs.
Example of a parcel created from the multisegmented lines instead of arcs.

The good news is that these lines contain the data needed for reconstructing the arc.

Attribute Table Example
Attribute table example – Most lines and arcs/multisegmented lines are their own individual feature.

I’ve used tools to recreate the arcs from the line geometry data only, but the resulting fit is not great.

My question is this: Can these arcs be recreated from the data contained in the attribute table? Am I going about this the wrong way maybe? Geoprocessing tools, python solution ideas.. anything is welcome.

Terrain Profile starts a selected polyline-based graph in different directions

I´m trying to create some profile graphs with Terrain Profile in QGIS 2.10 Pisa, using LCP´s between a site and seven lithic deposits as polylines. When I select some of these lines, the graph starts counting distance/elevation points from the end of the line that is close to the site (right to left). I assume this a good behavior of the tool.
enter image description here

In other cases, the graph starts from left to right, creating an unrealistic profile, and making it difficult to compare properly these lines when exported individually into excel.
enter image description here

¿Is there a way to choose the start point of the graph provided by Terrain Profile, so I can have all the lines starting from the same end of the line?

Really don´t know what to do, maybe I’m missing something about the use of terrain profile.

Transform/Align Census 2000 Blocks to Census 2010 Blocks

I would like to align census tabulation blocks from the 2000 and 2010 censuses. I have the relationship file, so I know which blocks are suppose to the same and which were split or consolidated. However, when overladed, the geometries don’t match up. More over, the number of points can be different. (The Census 2010 blocks have more detail in them.)

Detail of Census Blocks
(Red is the 2000 census boundaries, black are the 2010 boundaries)

I was thinking that the bounding boxes of the blocks that should be “identical” could be used as a better (but still rough?) proxy and GCP points could be generated for the bounding boxes and used to better align the blocks. The problem is that I’m not sure what to do once I were to create said bounding boxes.

I’m also open to any other methods of trying to align these geometries.

(For reference, I’m attempting to compute the % overlap for the blocks so that I can do something similar to the Brown University Longitudinal Tract Database and project the 2000 data into the 2010 geometries.)


Unfortunately, the ids for each block changed significantly. (Although, for posterity, it seems as if the tract ids were better preserved, probably since there were many fewer changes made.)

enter image description here

Creating polygons around extent of similar points using ArcGIS Desktop?

I’ve millions of points collected for lithology layer.

They have used a coding for different types of rocks.

I need to create a polygon around the extent of similar points.

What is the easiest way to get the polygon rather than digitising manually.

I was searching for tools that convert points to polygons but looks like there arent any.

I’ve seen tools for converting line to polygons, polygons to lines and points but not for points to polygons.

Script Error 'Invalid Pointer' in Spatial Analyst Tool

I have ArcGis 10.3 (previously 10.2 version) running on Windows 10 (previously Windows 8). My GIS licence is provide by my company where I have an intership, so I can’t just uninstall/install back the logiciel.

So, I have this script error which appears often when I want to use Spatial Analyst Tool or Geoprocessing Tool:

Line 51, Char 4, Error Invalid Pointer, Code 0, URL

I look at tons of articles online and did all their proposed solutions (put Internet Explorer as default browser, enable Active X control in security, clear roaming and local history of ArcTool Box in my AppData, upload a ‘new patch version’ of MdDlgContent.htm in my ArcGIS file provide by technical support from ESRI) and NOTHING IS WORKING.

Question and Answer is proudly powered by WordPress.
Theme "The Fundamentals of Graphic Design" by Arjuna
Icons by FamFamFam