# Path: prometapi/compat.py
# def zlib_encode(data):
# 
# Path: prometapi/geoprocessing.py
# def get_coordtransform():
# 	from django.contrib.gis.gdal.srs import SpatialReference, CoordTransform
# 	sl = SpatialReference('EPSG:3787')
# 	sl.import_wkt(sl_wkt)
# 	wgs = SpatialReference('EPSG:4326')
# 	trans = CoordTransform(sl, wgs)
# 	return trans


import time
from prometapi.compat import urlopen
from django.db import models
from django.contrib.gis.geos import GEOSGeometry
from prometapi.geoprocessing import get_coordtransform
# coding: utf-8





SOS112_URL = '''http://spin.sos112.si/SPIN2/Javno/GIS/AktualniDogodki.aspx?ur=24&SkupinaID1=1&SkupinaID2=1&SkupinaID3=1&SkupinaID4=1&SkupinaID5=1&SkupinaID6=1&SkupinaID7=1&SkupinaID8=1&pseudo?%s&bbox=243700,-99000,755700,301000'''

ENCODING = 'utf-8'

class SOS112(models.Model):
    timestamp = models.DateTimeField(auto_now_add=True)

# Path: prometapi/compat.py
# def zlib_encode(data):
# 
# Path: prometapi/geoprocessing.py
# def get_coordtransform():
# 	from django.contrib.gis.gdal.srs import SpatialReference, CoordTransform
# 	sl = SpatialReference('EPSG:3787')
# 	sl.import_wkt(sl_wkt)
# 	wgs = SpatialReference('EPSG:4326')
# 	trans = CoordTransform(sl, wgs)
# 	return trans


# Path: prometapi/sos112/models.py
import time
from prometapi.compat import urlopen
from django.db import models
from django.contrib.gis.geos import GEOSGeometry
from prometapi.geoprocessing import get_coordtransform

# coding: utf-8





SOS112_URL = '''http://spin.sos112.si/SPIN2/Javno/GIS/AktualniDogodki.aspx?ur=24&SkupinaID1=1&SkupinaID2=1&SkupinaID3=1&SkupinaID4=1&SkupinaID5=1&SkupinaID6=1&SkupinaID7=1&SkupinaID8=1&pseudo?%s&bbox=243700,-99000,755700,301000'''

ENCODING = 'utf-8'

class SOS112(models.Model):
    timestamp = models.DateTimeField(auto_now_add=True)

    original_data = models.TextField()