I bet you always wanted to re-arrange your -internet-map-layers (or pages in a cms) using drag and drop like in arcview. Recently introduced dhtml features allow you to do it. Both Dojo and script.aculo.us offer a script which can re-order <ul><li> items using drag and drop.
look at the demo at http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo
In this blog you can find some of my findings as an opensource geospatial developer.
Tuesday, January 02, 2007
Tuesday, April 18, 2006
WMS flash viewer
National Aerospace Laboratory The Netherlands has build a WMS-flash viewer. Check it out at
http://nlr-gis.nlr.nl/beeldblad. Some nice examples of several wms-services worldwide have been provided. You can also download the viewer and implement it on your own services.
http://nlr-gis.nlr.nl/beeldblad. Some nice examples of several wms-services worldwide have been provided. You can also download the viewer and implement it on your own services.
Wednesday, April 12, 2006
ORA-03113: end-of-file on communication channel
If you happen to get this message when (spatial) querying an oracle table. Probably the spatial index is incorrect, because it has been based on wrong dim-information in the user_sdo_geom_metadata table.
- Drop the index
- Correct the diminfo in user_sdo_geom_metadata
- Rebuild the index
INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)VALUES ('table', 'LOCfld',MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 180000, 220000, 0.005),MDSYS.SDO_DIM_ELEMENT('Y', 380000, 450000, 0.005)),Null);
CREATE INDEX si_ITEM2D on table(LOCfld) indextype is mdsys.spatial_index
- Drop the index
- Correct the diminfo in user_sdo_geom_metadata
- Rebuild the index
INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)VALUES ('table', 'LOCfld',MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 180000, 220000, 0.005),MDSYS.SDO_DIM_ELEMENT('Y', 380000, 450000, 0.005)),Null);
CREATE INDEX si_ITEM2D on table(LOCfld) indextype is mdsys.spatial_index
Wednesday, April 05, 2006
edges faces nodes (topology in Oracle 10g)
I always tend to forget this... What exactly are edges, nodes en faces
- The start node and end node for edge E4 are N1 and N2, respectively. The next left edge for edge E4 is E5, but its direction is the opposite of edge E4, and therefore the next left edge for E4 is stored as -E5 (negative E5).
- The previous left edge for edge E4 is E3, and because it has the same direction as edge E4, the previous left edge for E4 is stored as E3.
- The next right face is determined using the negative directed edge of E4. This can be viewed as reversing the edge direction and taking the next left edge and previous left edge. In this case, the next right edge is E2 and the previous right edge is -E6 (the direction of edge E6 is opposite the negative direction of edge E4). For edge E4, the left face is F1 and the right face is F2.
- Edges E1 and E7 are neither leftmost nor rightmost edges with respect to edge E4, and therefore they do not appear in the edge table row associated with edge E4.
Wednesday, March 29, 2006
AcceptEx-error in apache op win
When you find these kind of messages in your apache error-log: The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed then upgrade to apache v2.0.49 and set the Win32DisableAcceptEx directive to true.
AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of AcceptEx() Read more
AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of AcceptEx() Read more
Subscribe to:
Posts (Atom)