leelight's blog

The comment you are replying to does not exist.

Show Us Map! 45 Minutes to Build Your Own 3D City Map Server with SUAS MapServer 3

The tranditional 2D Web GIS can not satisfy the people, who are toughing new technique everyday. The 2D map has many better features such as rapid speed, non-client and easy to be implemented, but with the fast renovation of hardware and internet, those features have lost their adventage to 3D map. MSN, Google Map have supported 3D online map and many GIS companies have also released many powerful desktop softwares to help the users to update their 2D data or build 3D model based on forehaved 2D data.

Such as ArcView 3D Analyst:

Show Us Map! 30 Minutes to Build Your Own Map Server with SUAS MapServer 3

Have you used Google Map? Are you potty about its amazing and powerful functions? Would you like to have one such map server, even you are not a Giser or just know a little bit of GIS technique.

If you are working in GIS field, and you want to build your map server to deliver your map data, but UMN Map Server is too difficult to install and config, and too complex to use and make you headache. Of course, the UMN Map Server is a nice and strong tools, but you don't wanna wasting time to learn a lot of tutorials before the installation.

(T)Android - Driving Direction (Route Path)

The DrivingDirection package (com.google.googlenav.DrivingDirection) is
removed since Android SDK 1.1. However, in this article, you will leanr
how to adopt driving direction function in
MapView object without the DrivingDirection package.

Get boundary coodinate from Google static map

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

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

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

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]

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)

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

 

Syndicate content