I'm download osm-file with some city. In QGIS this map looks good, all streets is connected. Next, i execute osm2pgrouting and in QGIS (when i connect to postgres db) i watch map without some segments in street. Therefore, find path not worked (i think so). Because of what the problem is and how to solve it?
And more, after i executed osm2pgrouting in QGIS i watch many lines from what that point (like sun, extensively). I'm define coordinates of point and delete all ways with this coordinates.
UPDATE. I'm download two maps. First map is contain town (Russia, Krasnoyarsk) and i got it from openstreetmap.org, chosen area and export it. Second map contain region. I got it from some gis-site, but i forgot the address. Unfortunately I can not post a picture for an example. In map in postgress missing half segments of all. Some hightways segments is missing, but some is not.
UPDATE2. I have osm2pgrouting log:
Trying to load data
Trying to parse data
Reference nd=1162932299 has no corresponding Node Entry (Maybe Node entry after Reference?)
Reference nd=1162931037 has no corresponding Node Entry (Maybe Node entry after Reference?)
...
Split ways
Dropping tables...
Creating tables...
Nodes table created
2create ways failed:
Types table created
Way_tag table created
Relations table created
Relation_ways table created
Classes table created
Adding tag types and classes to database...
Adding relations to database...
Adding nodes to database...
Adding ways to database...
Creating topology...
size of streets: 62931
size of splitted ways : 97921
finished
And i use with osm2pgrouting standart mapconfig.xml.
I noticed that line from the some point and the other end is at the beginning of the missing segment. I think, means that this line is missing segments. But osm file open in QGIS and is correct.
Related
I am just starting to get into PostGIS and pgRouting and stumbled upon the following problem:
I imported a Network-Graph into my DB, and the routing inside of that Table (from node A to node B) works fine. However I would like to find a route between Points that are in another table (e.g. Customers and Shops). Can someone help me out on how to use Points (Nodes) from a different table than the network as start/end (or source/target)?
Thanks
Is there any command to refresh cube schema (Structure) every day before processing the SSAS tabular cube?
Requirement: Few column names in an object keeps changing(renaming) so, if we rename those columns in DB view, it should automatically reflect in Cube after overnight processing.
I tried adding ‘select * from an Object’ in cube table properties and processed cube.
Later, I tried to rename column name in view then processed cube, it failed due to different column name.
Is it possible to dynamically refresh schema without manually changing structure via solution and re-deploy?
Please suggest
This answer is not going to solve your issue, however best practice would be NOT to handle these changes in the SSAS Data Model. This should be a consistent layer for your users. I would handle these changes in the data base or source system end, maybe checking if a column exists, and if not adding a dummy row or some other process.
I have access to db2.
I also have access to some Cognos Cubes via TM1 explorer.
Is it possible to find out the source tables for the cubes ?
For example, can I see what tables are used for the FST cube shown below ? and if possible even how the tables are joined etc
. ?
To answer your question, you need access to the TurboIntegrator process that load your cube.
In your example, since it's an external source (Db2), the cube is loaded with a TurboIntegrator Process (process object in green). It's seems that you don't have the security access to view the process so you're not able to see the data source.
Hope it helps !
I have been trying to load some gis data from a postgis database into Cytoscape 3.6. I am trying to get some inDegree and outDegree values I have used the sif file format.
As long as the data is written out in the follow format
source_point\tinteracts with\ttarget_point
Cytoscape is happy to read it.
I am just wondering if there is anyway of including my own metric for the cost of getting between source_point and target_point
Sure! There are several ways to read in text files into Cytoscape -- SIF is just one of them. I would create a file that looks like SIF, but is actually a more complete text file:
Source\tTarget\tScore
source_point\ttarget_point\t1.1
...
And then use the "File->Import Network->File", choose your source and target and leave score as an edge attribute. You can have as many attributes on each line as you want, and can even mix edge attributes, source node attributes, and target node attributes.
-- scooter
I have to verify that olap cube data and the data from relational tables from where a cube is built is correct.
And I will do so by writing the TSQL queries and compare the values with that of cube.
But, I got stuck in the course of determining which columns are used for measure. How do I figure out which columns are used for measures?
Help appreciated!
You need to look at the cube metadata.
For SSAS2005, take a look at the DSV (data source view) and mappings to dim and fact table values behind the scenes. This should allow you to see what is going on. If you don't have a project you can reverse engineer it using the 'import anslysis services template' (or some such) option from the new project dialog in BIDS.
Calcuated measures are defined in the cube script. If you have a reverse-engineered cube or cube project you can open the cube and see this in the 'calculations' tab.
For AS2000 you can open the cubes on the server (assuming sufficient permissions) and look at the mappings there. There is a tool called OLAPScribe that will help you do this for AS2000. Alternatively you can run a trace on the source database and capture the SQL generated by the cube as it is processed.