11th
OCT

Romanian Postal Codes in OpenStreetMap

Posted by Strainu | Filed under Open Source, Python, Web stuff

After a short discussion on the Romanian OSM mailing list, I decided to write a small Python script to import the postal code data from SIRUTA into OSM, cited as demanded by law 542/2008, art. 32. As cities have multiple postal codes, I had to settle for importing data for villages, hamlets and towns. Still, over 12.000 new entries were added to OpenStreetMap. I will surely be an important resource for people wanting to use coordinates – postal codes association freely.

For people wanting to peek at the code, you can find it here. It uses the OsmApi library and a stripped version of the dbf fron INSSE (converted to CSV), containing the following fields: siruta_code, village_name, postcode, postocde_source.

Share and Enjoy:
  • Facebook
  • Twitter
  • Identi.ca
  • email
  • Add to favorites
  • Digg
  • StumbleUpon

Tags: , , , , ,

30th
JAN

Pagerename.py

Posted by Strainu | Filed under Python, Software

Pagerename.py is a script for the pywikipedia framework, used to rename a series of pages on Wikipedia and other MediaWiki sites. The script is designed to make the same modification on all the titles it reads from the input file. You can remove parts of the title or add a new text at the beginning and/or and of the title. You can find it’s source code below or at this site.
(more…)

Share and Enjoy:
  • Facebook
  • Twitter
  • Identi.ca
  • email
  • Add to favorites
  • Digg
  • StumbleUpon

Tags: , ,

30th

Computer Systems’ Structure homeworks

Posted by Strainu | Filed under C, Python, Software

Computer Systems’ Structure homeworks from Automatics and Computer Science Faculty, 4th year, prof. Emil SluÅŸanschi. The archive contains a homework made in C. Themes: threads, semaphores, queues, locks, fat-tree inter-connection structures, file-sharing, network programming in python. The C homework is a simulation using the Blitzen simulator (not included).
(more…)

Share and Enjoy:
  • Facebook
  • Twitter
  • Identi.ca
  • email
  • Add to favorites
  • Digg
  • StumbleUpon

Tags: , ,