Category Archives: Data

Buy Cialis Without Prescription

The development version of the Trip Planner uses a Postgres/PostGIS backend (instead of MySQL) SQLAlchemy Buy cialis without prescription, as the ORM (instead of raw SQL), and PCL for Python geometry types (instead of our own ugly hacked versions).

Question: How do you move geometries out of Postgres/PostGIS into PCL types via SQLAlchemy and vice versa, Osta cialis. Buy cheap cialis online, Answer: Create a custom geometry column type.

Here's our SQLAlchemy geometry type definition and subtypes (points, buy cialis, New Hampshire NH N.H. , linestrings, and multilinestrings; adding other types should be trivial):

sqltypes.py

Look here for an example of using it:

tables.py

The type is pretty simple, California CA Calif. . αγοράζουν online cialis, The only tricky part was figuring out how the database stores the geometry. It's in ASCII hex, cialis online stores, Buy cialis pills, so we use binascii.a2b_hex to get a binary representation and feed that to the PCL fromWKB factory. In the other direction we use binascii.b2a_hex on the WKB representation of the PCL geometry, αγοράσετε cialis. Billig kaufen cialis, [8/7/09: Updated links to source code. Note: latest version uses Shapely, order cialis, Cheap cialis no prescription, not PCL.]. Buy cialis without prescription. Vermont VT Vt. . Comprar cialis baratos. Order cialis online without prescription. Minnesota MN Minn. . Farmacia cialis baratos. Ordering cialis overnight delivery. West Virginia WV W.Va. . Buy cialis online legally. Cialis pedido en línea. Purchase cialis. Ordering cialis from canada. Connecticut CT Conn. .

Similar posts: Order cialis without prescription. Order levitra no prescription. Levitra over the counter. Order cialis no prescription. Buy levitra online cheap. Buy cheap levitra online.
Trackbacks from: Buy cialis without prescription. Buy cialis without prescription. Buy cialis without prescription. Buy cialis without prescription. Buy cialis without prescription. Buy cialis without prescription.

Posted in Core, Data, GIS, PostGIS, PostgreSQL, Pylons, Python, SQLAlchemy, Technical, Trip Planner | 1 Comment

Order Levitra Without Prescription

Order levitra without prescription, I just tried out some o' that new-fangle "Test Driven Development" (TDD) I've been hearing about. Levitra over the counter, Yeah, it's good stuff, levitra pharmacy. Acheter levitra discount, At the moment, I'm in the process of migrating GIS data from MySQL to PostgreSQL so we can take advantage of the PostGIS spatial extensions, Osta levitra online. Delaware DE Del. , I've also been making a bunch of related changes (AKA refactoring) in the "model", separating things that never belonged together, levitra prescription, South Dakota SD , and so forth.

I started out by rewriting the MySQL data import script, where to buy cheap levitra. [Note: basically, the script pulls data out of a flat ESRI shapefile and normalizes it.] This wasn't a complete, from-scratch rewrite--a lot of stuff I just copied over and tweaked a little bit, order levitra without prescription. New Mexico NM N.Mex. , The biggest changes here were due to using SQLAlchemy instead of typing out SQL queries. I'll just note that SQLAlchemy is "da bomb" and makes many things easier (once you get the hang of it), order levitra overnight delivery. Kopen goedkope levitra, That part was pretty straightforward, and low-level--I didn't get into the ORM aspects of SQLAlchemy at all, New Hampshire NH N.H. . Cheap levitra without prescription, The next step was to modify the routine that creates adjacency matrices for routing. Order levitra without prescription, In the end, this was straightforward too. I ended up reusing some stuff from the new import script, levitra no prescription, Buy cheap levitra online, which was cool. I refactored a lot during this process, buy levitra no prescription, Order levitra no prescription, adding some new modules and classes.

[Here's where we get to the TDD aspect.]

So, Washington WA Wash. , Købe levitra, I was sitting there (here really) thinking, "Hmmm.., discount levitra. Cheap levitra pills, what now?" I drew some diagrams with the new classes and associations.... OK, that's fun..., order levitra without prescription. "Wait, Virginia VA Va. , Buy cheap levitra, I know. Run the unit tests!" Doy, order levitra online cheap. φτηνές φαρμακείο levitra, I started with the address normalization service, since the other services both depend on it. The test suite for this service isn't as comprehensive as it probably should be (there are 19 tests), but it proved to very useful for shaking out a bunch of bugs in all that refactoring. The tests also helped keep me focused, and that aspect might be more important than the bug-squashing aspect (maybe).

Today, address normalization. Tomorrow, geocoding.

Similar posts: Buy cialis no prescription. Order levitra online cheap. Order cialis. Buy levitra no prescription. Buy soma no prescription. Cialis over the counter.
Trackbacks from: Order levitra without prescription. Order levitra without prescription. Order levitra without prescription. Order levitra without prescription. Order levitra without prescription. Order levitra without prescription.

Posted in Core, Data, PostgreSQL, Python, SQLAlchemy, Technical | 1 Comment

Order Levitra

Order levitra, A couple days ago we updated the Portland region data. This was like a bug-fix release for software--no major changes were made, Oregon OR Ore. , Order levitra cod, but a lot of little things here and there were improved and/or fixed.

Related to this (but still quite separate), order levitra pills, Levitra without prescription, we improved (hopefully!) the way routes are found. In particular, cheap levitra online, Rhode Island RI R.I. , we made big changes for when the safer option is selected.

Please let us know what you think, købe levitra online. Levitra farmacia a buon mercato. Colorado CO Colo. . Buy levitra pills. Iowa IA . Rabatt kaufen levitra. Comprar levitra baratos. Order levitra. Cheap levitra online without prescription. North Dakota ND . Arkansas AR Ark. . Generic levitra. Maine ME Me. . Cheapest levitra prices. Kentucky KY Ky. . Levitra discount. Buy levitra online. Florida FL Fla. . Cheap levitra from canada.

Similar posts: Soma over the counter. Order soma online cheap. Buy cheap cialis online. Buy soma cod. Buy levitra cod. Buy cialis online cheap.
Trackbacks from: Order levitra. Order levitra. Order levitra. Order levitra. Order levitra. Order levitra.

Posted in Data, Meta, News, Trip Planner | 1 Comment