Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. nameYYYMMDD.tif
  2.  
  3. SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory
  4. host=localhost
  5. port=5432
  6. database=testing
  7. schema=public
  8. user=postgres
  9. passwd=postgres
  10. Loose bbox=true
  11. Estimated extends=false
  12. validate connections=true
  13. Connection timeout=10
  14. preparedStatements=true
  15.  
  16. TimeAttribute=ingestion
  17. Schema=*the_geom:Polygon,location:String,ingestion:java.util.Date
  18. PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion)
  19.  
  20. regex=[0-9]{8}
  21.  
  22. cat = Catalog("http://localhost:8080/geoserver/rest/",
  23. username="admin", password="geoserver")
  24.  
  25. st = cat.create_imagemosaic('store_name', 'D:griddedsix_average_leaf_ncep.zip', workspace='workspace_name')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement