All Questions
13 questions
1
vote
0
answers
299
views
How to calculate the daylight saving time given a latitude and longitude [closed]
I've been using an algorithm (https://gist.github.com/assaflavi/fc8cf83c167558ebf3ab159b5c5b0df2) to calculate sunrise and sunset times given a latitude and longitude and it works fine but this ...
2
votes
1
answer
1k
views
How to georeference an image dynamically
I am looking for dynamic approach how to georeference an image of a radar. This is a data that is going to be fetch every hour. Of course I will only need radar data (without base layer and borders) ...
1
vote
1
answer
625
views
Calling Python ogr2ogr from PHP doesn't work as expected?
I have a HTML page that takes and uploaded zip file and then calls a PHP page as a form action. That PHP then calls two Python scripts in my Apache cgi-bin. The first Python script runs with no issue ...
2
votes
1
answer
2k
views
Loop over GeoTIFF image pixels, extract coordinates and pixel color
I have a very large GeoTIFF image (~650MB) with color-coded landcover data from here. I need to extract the latitude, longitude, and pixel color for each pixel in the image, so I can import it into a ...
1
vote
1
answer
1k
views
I am using “Hindi and Gujrati” font then I am getting “Black Squre Dots”?
At the time of generating PDF file when I am using “Hindi and Gujrati” font then I am getting “Black Squre Dots”. Below I am using code. Here I am trying to convert in UTF-8 but it’s not converting.
...
-2
votes
1
answer
308
views
What application server or web framwork to use [closed]
I'm looking to make a webmapping app, which gonna use Geoserver as carto server, and Postgres/postgis as Dabatase, and Extjs as client UI.
but i'm in dilemma in application server side, between PHP, ...
5
votes
1
answer
3k
views
Interpolating point set into value contours?
The task at hand is creating 'isobar' value contours that are interpolated from a point field of either the x/y or lat/lon type. I really have no idea where to begin mainly because this needs to be ...
0
votes
2
answers
1k
views
Parse PHP/HTML to shapefile or similar
I've been experimenting with scraping spatial data from a web page (www.majidata.co.ke). I've managed to find the source of the vector data from within a webpage though and have saved a chunk as HTML ...
5
votes
4
answers
31k
views
Formula to Check Latitude & Longitude is within Area without Google Maps Api
I got this Example Map
SampleMap:
http://techinfo.co.id/test/map.php
I make Boundary Polygon shape ,
-6.875165174925262, 107.56293296813965
-6.882663904407988, 107.66730308532715
-6.980818117491586,...
6
votes
4
answers
5k
views
Simple WMS server
Is there a way to implement a WMS server using only php or python cgi and mysql? I can't use geoserver or mapserver and postgres and any other software as they are not provided by the administrator.
1
vote
1
answer
2k
views
Linux Client for OpenGTS server
I've installed an OpenGTS server and successfully linked it with the GPS2OpenGTS_Pro application for android.
The buses I'm tracking offer 3G with a wireless AP, however whenever the bus stops, the ...
2
votes
1
answer
1k
views
Executing Python script for GRASS from PHP
I wrote the following Python script:
#!/usr/bin/env python
import os
import sys
gisbase = os.environ['GISBASE'] = "/usr/lib/grass64"
gisdbase=os.path.join("PATH")
location=...
2
votes
2
answers
2k
views
Script to extract UTM Zone using Range and Meridian information
I am looking for a python or php script that will accept the Range and Meridian values of a location and use it to identify the UTM zone.
I have a table that comprises of Easting, Northing, Range and ...