發表文章

Tomcat UI for不同的service

根據官方的說法 http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html //ES// Edit service configuration This is the default operation. It is called if the no option is provided but the executable is renamed to servicenameW.exe 只要把原本的tomcat7w.ext 改成 [service_name]w.exe 就行了

Mac book pro 藍芽滑鼠問題

圖片
一直習慣用羅技的滑鼠 即使在mac上也是羅技的忠實支持者 但是換了mac book pro 15 retina後發現滑鼠在某些時候會非常lag 但是一直找不到原因 後來有一次在上傳ftp檔案時突然發現上船時滑鼠的lag狀況非常的厲害 馬上就讓人聯想到是不是wifi的問題 google後發現有人也遇到一樣的狀況 解法就是到裝置管理員選擇網卡 再到內容選擇進階 在Bluetooth合作選擇啟用 真是太棒了 Reference http://blog.lansea-chu.com/index.php/archives/943

Geoserver發佈Raster效能考量

最好先看一下這篇文件 http://docs.geoserver.org/latest/en/user/production/data.html 就知道要選擇甚麼樣的檔案 通常我都是使用GeoTiff再用Gdal downsample

pgRouting 設定topology

執行 SELECT assign_vertex_id(your_table, 0.00001, geom_column, 'gid')

IOS ZXing QR code 筆記

按照 http://yannickloriot.com/2011/04/how-to-install-zxing-in-xcode-4/ 的操作 Compile的時候竟然出現了問題 後來把 ZXingWidget.xcodeproj 的location 設定成 Absolute Path就可以成功compile了

OGR2OGR 好用的轉檔工具

參考 http://www.bostongis.com/PrinterFriendly.aspx?content_name=ogr_cheatsheet 轉SHP很簡單 ogr2ogr -f "ESRI Shapefile" mydata.shp mydata.tab 另外再用pgsql 與 shp2pgsql匯入postgres/postgis就很方便了

PostGIS更新SRID

更新table的srid,方法如下 首先更新某個table的geometry column,並且設定srid(e.g. 3826) select updategeometrysrid('your_table', 'geom_col', ); 然後將 geometry column設定srid select setsrid(geom_col, ) from your_table;