hello,

the Osmget.py did not behave as expected.

it gave the following errors

osmGet.py --prefix SF1 --bbox "47.5338000528, 7.51134084,  
50.5644529365, 13.8350427083" --tiles 10 200 OK
Traceback (most recent call last):
   File "\osmGet.py", line 106, in <module>
     get()
   File "\osmGet.py", line 100, in get
     north, south, b, e), "%s%s_%s.osm.xml" % (options.prefix, i, num))
   File "\osmGet.py", line 44, in readCompressed
     out.write(response.read())
   File "C:\Python27\lib\httplib.py", line 543, in read
     return self._read_chunked(amt)
   File "C:\Python27\lib\httplib.py", line 635, in _read_chunked
     return ''.join(value)
MemoryError
osmGet.py --prefix SF1 --bbox "47.5338000528, 7.51134084,  
50.5644529365, 13.8350427083" --tiles 15 200 OK
Traceback (most recent call last):
   File "\osmGet.py", line 106, in <module>
     get()
   File "\osmGet.py", line 100, in get
     north, south, b, e), "%s%s_%s.osm.xml" % (options.prefix, i, num))
   File "\osmGet.py", line 44, in readCompressed
     out.write(response.read())
   File "C:\Python27\lib\httplib.py", line 543, in read
     return self._read_chunked(amt)
   File "C:\Python27\lib\httplib.py", line 635, in _read_chunked
     return ''.join(value)
MemoryError
osmGet.py --prefix SF1 --bbox "47.5338000528, 7.51134084,  
50.5644529365, 13.8350427083" --tiles 20 200 OK
Traceback (most recent call last):
   File "\osmGet.py", line 106, in <module>
     get()
   File "\osmGet.py", line 100, in get
     north, south, b, e), "%s%s_%s.osm.xml" % (options.prefix, i, num))
   File "\osmGet.py", line 40, in readCompressed
     response = conn.getresponse()
   File "C:\Python27\lib\httplib.py", line 1045, in getresponse
     response.begin()
   File "C:\Python27\lib\httplib.py", line 409, in begin
     version, status, reason = self._read_status()
   File "C:\Python27\lib\httplib.py", line 373, in _read_status
     raise BadStatusLine(line)
httplib.BadStatusLine: ''


thank u






Quoting Jakob Erdmann <[email protected]>:

> Hello,
> I'm posting this to the list because the answer may be of general interest.
> The area you are trying to download is too big for the server.
> You can use the latest revision of osmGet.py
> (http://sumo-sim.org/trac.wsgi/browser/trunk/sumo/tools/import/osm/osmGet.py
> )
> with the option --tiles 10 to download the area in multiple chunks. Make
> sure you have enough RAM though!
> regards,
> Jakob
>
>
> 2013/12/9 <[email protected]>
>
>> hello
>>
>> I tried osmget.py with many bounding boxes one of them is for bayern- and
>> BW combined together:
>>
>> south,west,north,east
>>
>> 47.5338000528, 7.5113934084, 50.5644529365, 13.8350427083
>>
>>
>> the extracted file always contains :
>> <remark> runtime error: Query run out of memory in "recurse" at line 5
>> using about 1387 MB of RAM. </remark>
>>
>> </osm>
>>
>> how can i solve this?
>>
>> BR
>>
>>
>>
>>
>




------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to