# Tag Info

6

Removed the previous links, which I should have checked more scrutinously, and found some information and shapefiles which hopefully would be of some use: The EEZ Boundaries (Exclusive Economic Zone) which for this purpose is mainly used to show the coastal lines and outlines of continents. http://www.marineregions.org/downloads.php#eez The main Global ...

5

NetworkX ( A python module for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks ) has a read_shp() function which generates a graphs from shapefiles. You might want to check it out. Here's a short tutorial. No TPSLIB export as far as I know but does support writing the graphs into formats like GML, GraphML, ...

4

Maybe this one is a better example, and I'm afraid transformFeature control is not the right tool to do this job because it can only change the geometry of the feature but externalGraphic is a style property, which can only apply to a point feature. And another style property you need to use is rotation. So you have to write your own logic by using ...

4

I would use a zonal statistics analysis to investigate the relationship between crime rate and land price. Use Zonal Statistics as Table (Spatial Analyst) tool with these settings: in_zone_data = crime rate zone_field = label (field of crime rate) in_value_raster = land price statistics_type = all The result is a table. Use Excel to create a chart. ...

4

Unfortunately solution by Farid Cher uses regression analysis. It minimises either (X-distance)^2 to line, or (Y-distance)^2, depending on what values were picked for Y axis. It seems that youâ€™d like to minimise distance to line from points. Complete solution can be found here: http://math.stackexchange.com/questions/839464/how-to-find-a-line-that-...

3

That's a known issue of QGIS 2.2 but it should be fixed in the dev version and will be in 2.4. See http://hub.qgis.org/issues/9780

3

There are already many plugins which use the Python module matplotlib. (Midvatten here) If you know Python, it is not very difficult to use the Python console or a Python script in the Processing Toolbox. In the same way, you can use a R script in the Processing Toolbox.

3

After an enormous amount of time debugging, I solved the problem. The fc's stored in each arcpy.ListFeatureClass() list must first be made into a feature layer (arcpy.MakeFeatureLayer) in memory before being passed to the arcpy.Graph() class, arcpy.MakeGraph, and finally arcpy.SaveGraph functions. Word of Wisdom: Another related note for creating a graph ...

3

You can display barcharts in QGIS with the Diagrams Overlay plugin. You may have to enable it first. From the Plugins menu, select 'Manage plugins'. Look for the plugin and enable it by clicking on the checkbox. Then open the Layer Properties, for the layer containing the data to be displayed. On the Overlay tab, you will find the settings for barcharts. ...

3

There is a standard already there called ArcInfo ungenerate(export). Using the ArcInfo generate(import) and ungenerate command. But there are many other technologies doing the same thing now such as json, landxml, esrixml workspace document and many others I can't even keep up with. ETGeowizards contains a tool to create the ungenerate file. go to ...

3

If you want to display externally created graphs you could save them as images and and links to these files in the attribute table then either enable hyperlinks or configure the html popup to target them

3

Unfortunately, when generating a graph based on addSeriesLineHorizontal you don't get access to the min and max as you do with addSeriesBarMinMax for instance. arcpy.Graph() doesn't provide that fine-grained access to the graph properties. You could either access ArcObjects from Python to complement your workflow, or turn to a more powerful matplotlib that ...

2

You want to favor edges that are "close" to the line segment joining the endpoints of the path (its "axis," let's say). One direct way to do this is to weight the edges accordingly. How you weight them will determine what kind of path is "nicest." Just make sure that edges further from the axis get proportionately greater weight. As an illustration, I ...

2

Since this question was tagged with Java, I'd put my weight behind Conveyal's gtfs-editor, a webapp which runs on Java via the Play framework. It's pretty easy to get going if you're familiar with CLI. https://github.com/conveyal/gtfs-editor

2

We had done something similar in Flex Using the ArcGIS FLEX API. Since you are working in JavaScript, have a look at the Rickshaw Library. Especially this Sample:Interactive Hover Details You need to store your data such that it has 4 variables for each point, such as: Speed Distance From Starting point (or maybe Time?) X value of point (or longitude) ...

2

If your layers have a field that matches a ddp name or page number you can set a definition query on your feature class to include or exclude features that match the ddp

2

Take a look at ParaView, which is a generic 3D model viewer, with support for time dependency. However, getting data into the program can be difficult, as it has poor GIS file format support. You may need to write a format that the program recognizes, which can be a pain. I suggest a legacy VTK format. X3D would be ideal (since there is a ST_AsX3D PostGIS ...

2

One approach would be to create a layer action similar to what is described in A python layer action to open a wikipedia page in QGIS. Basically: from PyQt4.QtCore import QUrl; from PyQt4.QtWebKit import QWebView; myWV = QWebView(None); myWV.load(QUrl('http://wikipedia.org/wiki/[% "name_0" %]')); myWV.show() A python package which is often used in ...

2

I don't think there is currently a way to add the grf file to the layout. However, you can save the graph as an image - see here. In your layout you can have a picture element called "GRAPH" which could be a placeholder for the image of your graph (just insert a picture into your layout). Change the element name here: The path of the image will go here:...

2

Open table Select Graph, type Hystogram Pick field Experiment with graphs, there are options to export, etc

2

Unfortunately arcpy does not have the ability to modify an existing graph through the API, just create new ones using MakeGraph_management.

2

This is not possible with ArcGis built-in tools to draw a regression line fit to your point features geographically. Instead you should use Graph tool to create a regression line. Use "Add XY Coordinates (Data Management)" to add X and Y coordinates fields. Select your features (as you already did) Use View Menu > Graphs > Create Graphs. Fill the ...

2

You can get rid of such subnetworks otherwise it is harder as you'll need to decide for a 'cost factor' such distances need to be multiplied with. E.g. if you have A' and A'' and B' and B'' there are obviously 4 possible combinations with different distances and 4 potential different paths with different costs (e.g. distance, time or fuel costs) so you have ...

1

One of the download links offers shapefile data. This can be used directly by any GIS software, including free software like QGIS and OpenJump. From that point, there are numerous ways to turn shapefiles into a routable network database.

1

Try this approach in ArcScene: Project your map into UTM Use Building foot prints and make extrusion proportionate to Area of the building Categorize the buildings based on their area and color code them.You may want to use Layer Properties>Symbology>Categories>Select value fields as Area and classify.

1

Your issue is here I believe: graph.addSeriesHistogram(input_table, fieldName, countBin) Specifically, with the variable fieldName. For addSeriesHistogram, fieldNameneeds to be a layer object. Instead, it is a string in your code. To access the layer object, you'll need to use arcpy.ListLayers. Try this code: #Create map object mxd = arcpy.mapping....

1

shape.Z and shape.M aren't fields, they are properties of the shape field. If you want to plot Z and M, you should export these to new fields and use the new fields in arcpy.graph.addSeriesLineVertical.

1

I created a workaround solution to the problem. Instead of using the graph output from StackProfile_3d it is possible to create a graph from the value table. With this approach it is also possible to customize the look of the graph using a graph text template which first must be created, see intructions in the code below. import arcpy # Set Local ...

1

It seems there is a bug with this function in version 10.1: Bug NIM-092377 - When using Python to generate a Stack Profile, 3D Analyst (arcpy.StackProfile_3d), the output table and graph generated are blank. It doesn't correspond fully to your description as your table is not empty, though. Apparently it's solved with 10.2, you could try with this version if ...

1

You can use our free converter for changing OSM into a routable network, that splits at all intersections. This means OSM ways are changed into multiple links. Input is OSM XML files, output is for instance SHP. Find it at www.routeware.dk, download section.

Only top voted, non community-wiki answers of a minimum length are eligible