h4ck3rm1k3's Comments
Post | When | Comment |
---|---|---|
Kosovo street data split into 100 street work packages | Thanks! That is great, anyone can help! |
|
New delivery of road data for Kosovo | Data uploading here:
|
|
Planimetria de Vitoria | I have created a new version of the split that emits only one layer
that means, the asfalt layer will be chucked into 100 polygon files. http://github.com/h4ck3rm1k3/TwoNickels/commit/f27405ee63a0d87ae12dc402307f3588ac52a217 |
|
perl2exe | translation :
And can someone make exe-version Leshin converter osm2mp? This would greatly help me. Because once it did, I understand that this is possible. |
|
What will matter? | Smells like off topic! |
|
Planimetria de Vitoria | One more thing,
We can extend the program and make it better; it was just a quick hack for you over new years. mike |
|
Working on libredwg | Hi all, I am just starting to work on the libredwg project that can read DWG without the restrictions of the "open design thing" that means you can download it and use it. The DWG format is a jealousy guarded binary format that changes with every release of Autocad.
Unfortunately we are missing a specification of all the formats, and most importantly, a test case. I guess the spec from OpenDesign is good, but I heard it was buggy. Also Is it complete? I want to have test data to work with that I can understand. The GNU project has declared creating an Autocad reader is high priority project. My plan is follows : 1. create a set of files to use as test case.
2. convert those test cases into DWG and DXF files and to SVG/pdf so we can understand them. 3. do that in batch for each version of autocad. Given a large body of tests cases, inputs and outputs, it should be easier to work on the decoding of this data. See also :
|
|
Planimetria de Vitoria | I have made a splitter routine for you to split up the huge osm file into chunks The splitter is here :
you can change the constant 1000000 to something else. Also you can increase the memory of java
Here are the chunks :
code
my $count=1; |
|
Working on libredwg | Does anyone have any test cases in DWG format? We need to collect very many for development of the software.
|
|
More Autocad files online | Here is a Another one :
|
|
OpenStreetmap Albania started |
For more todos in albania,
|
|
TwoNickels(dime) dxf2osm is running with polygons | Here is just one part of the map :
here is a pic:
|
|
TwoNickels(dime) dxf2osm is running with polygons | datafile is here:
|
|
cs2cs help | Ahh,
x=358376.5
outputs are :
see the main routine...
it is all working now, so dont worry about it. |
|
cs2cs help | Sorry for the confusion. MText is the new part of the Dime (two nickels)
I have made a simple proj tool in dime as well here, but I forget to add that to git.
On of my problems that was in the old code was the radians, I had converted the northing and easting to radians before converting. Now I do that after I get the results. In fact, It works with the standard proj lib now, after I made the needed changes. Here is the current code :
Still, the code changes to proj are good, there were alot of bad typecasts, removing the constant from chars etc. Ideally we could have a set of templates, one for each projection and do the code inline. It would be much faster. to answer your questions : I had posted the parameters and results here with the code : The new code using the standard proj interface :
void convertPoint(double x, double y, double & rx, double & ry) The inputs : 358376.5 7753537 the outputs :
the convert point goes from a UTM northing/easting to lat/lon.
|
|
Proj now working |
I have added the first results of the dxf-osm converted,
code checked in
More to come. mike |
|
Brasil Coordinates Transform | Data File:
|
|
Very fast osm processing in C++ | Memory leaks using xerces transcode. It was making copies of all the strings. Have replaced/removed all the unneeded copies of the strings for comparison and parsing of ints. I have used valgrind to debug the memory leaks. The problems are removed. Also I turned off the reverse lookup by the string of the Point and removed it from the memory representation. Will look into using a rtree or a quadtree for that later. mike |
|
Very fast osm processing in C++ | Now, to be fair, the osm2pgsql does process the osm files in a very similar way, but it is not intended on being a generic processor. I am working on processing a much larger file now, the entire state file and also have started looking into the bzip2 processing inline and the sax reader. We should be able to fetch just parts of a world.osm.bz2 file and process it while downloading (using the blocks as they complete) But that is for the future, for now I will focus on the county processing. Well, here are the results of wordcount on the uncompressed NJ file: 18 million nodes, counted in 1.5 minutes. wget http://downloads.cloudmade.com/north_america/united_states/new_jersey/new_jersey.osm.bz2
time wc new_jersey.osm
One thing that I have observed, the processing takes up the entire processor, but only one of four. That is why we need these splitting routines in general so that we can process on mutiple processors easily. Osmosis is nice, but I dont feel confortable with using it, it is pretty complex. Ideally Now, just running my county extractor on that takes a long time. I need to find out why.... mike |
|
Very fast osm processing in C++ | I have checked in the Makefile, using gcc -O4, have now the bounding box calculation and refactored the classes.
here are my system details :
processor : 3
|