You are here

Blogs

Get boundary coodinate from Google static map

Blog Terms: 

We can use the following url to create one static google map image:
"http://maps.google.com/staticmap?center=" + lat + "," + lng + "&format="
+ format + "&zoom=" + zoom + "&size=" + width + "x" + height + "&key=" + apiKey;

How could know the boundary coordinate information of this image?
What we know:
1. center latitude/longitude point where map centered on
2. map image's total pixel width/height
3. map zoom level.

Some Andorid WMS clients

Blog Terms: 

1. gvSIG Mini is a free viewer of many On/Offline Maps:
- OpenStreetMap
- Yahoo
- Microsoft Bing
- Google Maps
- PNOA (ES)
- Ordnance Survey (UK)
- Yandex (RU)
- etc

It also has interesting features, such as:
- WMS & WMS-C Client
- Route calculation
- Address/POI search
- Share location (twitter, SMS, e-mail, facebook, ...)
- GPS, cell & WiFi location
- WVGA
- Navigation mode
- Compass support
- Street View integration
- Layer configuration downloader
- QuickZoom: SlideBar or DoubleTap
- Android 2.1 support (now from 1.5 up to 2.1)

Turn Apache or Tomcat server to reverse proxy server

Blog Terms: 

I. For Apache server

Iit is easy:

To use the apache proxy directives you need to have
the following modules loaded:

[WARN] Unknown module requested 'missingplugin'; all active GWT modules must be specified in the command line arguments

Blog Terms: 

After i got some problem by debugging with GWT 2.0, I downgraded from 2 to 1.7, but I got this error when running "Web Application":
[WARN] Unknown module requested 'missingplugin'; all active GWT modules must be specified in the command line arguments

I did this, and solve the problem:
1. Internet Explorer | Tools | Internet Options | Delete Cookies
2. Internet Explorer | Tools | Internet Options | Delete Files
3. Internet Explorer | Tools | Internet Options | Clear History

In GWT debug browser windows will ask you about the Gear if you are using Google Gear.

Ref:

Hibernate Exception: org.hibernate.HibernateException: unknown Oracle major version [0]

Blog Terms: 

I transferred one project with Hibernate 3 to Hibernate 3.2, when i run it i got such Exception:

Caused by: org.hibernate.HibernateException: unknown Oracle major version [0]
........

Solution:
I was using the old Oracle classes12.jar driver lib, this could to be an issue for Hibernate 3.2 where OracleDriver.getMajorVersion returns 0, this in turn confuses hibernate.
Upgrade classes12.jar to ojdbc14.jar fixed the problem.

Refer:
https://forum.hibernate.org/viewtopic.php?p=2373597

Determining whether or not a polygon (2D) has its vertices ordered clockwise or counterclockwise(T)

Blog Terms: 

Org link: http://debian.fmi.uni-sofia.bg/~sergei/cgsr/docs/clockwise.htm

 


Determining whether or not a polygon (2D) has its
vertices ordered clockwise or counterclockwise
Written by Paul Bourke
March 1998

Mobile Developer's Guide to the Galaxy- from J2mePolish site

Blog Terms: 

News from J2mepolish site:

Mobile Developer's Guide- first edition out now


Some JSR 179 Location API J2ME examples

Blog Terms: 

The first 3 examples come from http://www.j2melbs.com/ .
1, The basic Location Question
Download: http://www.j2melbs.com/content/codes/lbs/CoordinateAlert.java

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.location.*;

public class CoordinateAlert extends MIDlet implements CommandListener {

private Display display;
private Form mainForm;
private Alert positionAlert;

public CoordinateAlert() {

mainForm = new Form("HelloMIDlet");

EPSG:4326(WGS84) WMS in Openlayers and EPSG:900913 Google Map

In SUAS Map Server I used Openlayers to display WMS layers in EPSG:4326 SRS with Google Map, I found the WMS overlays are always be transformed, now i kown the reason. EPSG:4326 != EPSG:900913

Pages

Subscribe to RSS - blogs