Blog

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.

json2 vs jquery json

json native, json2, json3 vs jquery json

ref: http://jsperf.com/json-vs-jquery-json/2

Regular Expression, 3 digi number, only 5 times' numbers are allowed

Number from 0-999, only 5 times' numbers are allowed: 0, 5, 10, 15, 20... 995
The following is the test in javascript:

  1. var reg = new RegExp('^(\\d{0,2}[0,5])$');
  2. alert(reg.test('123'));

How to select records with given interval

How to select records with every N records' interval?
Using the rank(), this is the the snipet, for Oracle:
Table name: tableabc,
---------------------
id  |  time  |   test
---------------------
SELECT id, rank() over (partition by 1 order by time) as interval, test
                                   FROM  tableabc 

Force Internet Explorer to display content in the available highest mode

The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as. IE11+ have changes to these modes. See IE11 note below.

HTTP Webserver for Android

Some good advice to improve the OpenLayers's perfermence

Some good advice to improve the OpenLayers's perfermence.

http://ol-performance.appspot.com/
http://github.com/ahocevar/ol-performance/

Simplify your polyline but keep its form

If you need add a polyline or polygon to draw a country/state shape in Google Map/OSM, maybe you will get performence problem because of the huge collection of points in your polyline.
Then you need this javascript library: Simplify.js

apk2bar got "Android SDK path is not set" after ADT updated

After my Android ADT was updated, i found the blackberry apk2bar does not work anymote. It throws always "Android SDK path is not set" Even I have set it in system envrionment.

There is 2 solutions:

1 . As a temporary solution, you can copy all of the files from /build-tools/17.0.0 back to /platform-tools. This will allow our tools (apk2barVerfifier, apk2bar, etc.) to function as expected. You may need to provide the SDK location directly to the tool, depending how you've got things setup.

2. I prefer andhave tested this solution:

 

Syndicate content