Did I find the right examples for you? yes no

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
>>> m = Map(Microsoft.RoadProvider(), Core.Point(600, 600), Core.Coordinate(3165, 1313, 13), Core.Point(-144, -94))
>>> p = m.locationPoint(Geo.Location(37.804274, -122.262940))
>>> p
(370.724, 342.549)
>>> m.pointLocation(p)
(37.804, -122.263)

>>> c = Geo.Location(37.804274, -122.262940)
>>> z = 12
>>> d = Core.Point(800, 600)(more...)

src/m/o/modestmaps-py-HEAD/wscompose/__init__.py   modestmaps-py(Download)
import signal, thread, threading, time, sys
import BaseHTTPServer, SocketServer, mimetypes
import ModestMaps
 
from urlparse import urlparse

src/m/o/modestmaps-py-HEAD/wscompose/plotting.py   modestmaps-py(Download)
import re
 
import ModestMaps
 
# SEE COMMENTS IN markers.py ABOUT VARIABLE NAMES

src/m/o/modestmaps-py-HEAD/wscompose/pinwin.py   modestmaps-py(Download)
import ImageDraw
import StringIO
import ModestMaps
import validate
 

src/t/i/TileStache-HEAD/TileStache/Providers.py   TileStache(Download)
    import Image
 
import ModestMaps
from ModestMaps.Core import Point, Coordinate
 

src/t/i/TileStache-HEAD/scripts/tilestache-compose.py   TileStache(Download)
from os.path import abspath
 
import ModestMaps
 
mmaps_version = tuple(map(int, getattr(ModestMaps, '__version__', '0.0.0').split('.')))

src/p/y/pycon2012-talk-HEAD/maps/tileserver/provider.py   pycon2012-talk(Download)
from maps.blocks.models import Block
from maps.crime.models import Crime
from django.contrib.gis.geos import  Polygon
from PIL import Image, ImageDraw
import ModestMaps

src/d/j/django-geojson-tiles-0.1.2/geojson_tiles/views.py   django-geojson-tiles(Download)
from django.contrib.gis.geos import Polygon
from django.http import HttpResponse, HttpResponseServerError
from django.contrib.gis.db.models import GeometryField, MultiPointField, PointField
from serializers import GeoJSONSerializer
import ModestMaps

src/m/o/modestmaps-py-HEAD/compose.py   modestmaps-py(Download)
# vim:et sts=4 sw=4:
 
import sys, math, optparse, ModestMaps
 
class BadComposure(Exception):

src/t/e/Terrain-HEAD/mapnik/mapnik-render.py   Terrain(Download)
import pyproj
import PIL.Image
import ModestMaps
import optparse
 

src/d/j/django-geojson-tiles-HEAD/geojson_tiles/views.py   django-geojson-tiles(Download)
from django.contrib.gis.geos import Polygon
from django.http import HttpResponse, HttpResponseServerError
from django.contrib.gis.db.models import GeometryField, MultiPointField, PointField
from serializers import GeoJSONSerializer
import ModestMaps

  1 | 2  Next